public void SendInv(string address, string kind, List <byte[]> items) { var message = new CommandMessage(); message.Command = CommandType.Inv; message.Client = _blockchainPeer.ClientDetails(); var inv = new Inv() { Items = items, Kind = kind }; message.Data = inv.Serialize(); _blockchainPeer.SendMessageToAddressAsync(message, address); }