public BlockTxNode(int index, int depth, UInt256 hash, bool pruned, EncodedTx encodedTx) { Hash = hash; Index = index; Depth = depth; Pruned = pruned; EncodedTx = encodedTx; }
public BlockTx(int index, EncodedTx encodedTx) { if (encodedTx == null) throw new ArgumentNullException(nameof(encodedTx)); Hash = encodedTx.Hash; Index = index; EncodedTx = encodedTx; }
public BlockTx(int index, EncodedTx encodedTx) { if (encodedTx == null) { throw new ArgumentNullException(nameof(encodedTx)); } Hash = encodedTx.Hash; Index = index; EncodedTx = encodedTx; }
public BlockTx(int index, UInt256 hash, ImmutableArray<byte> txBytes) { Hash = hash; Index = index; EncodedTx = new EncodedTx(hash, txBytes); }
public BlockTx(int index, UInt256 hash, ImmutableArray <byte> txBytes) { Hash = hash; Index = index; EncodedTx = new EncodedTx(hash, txBytes); }
public async Task SendTransaction(EncodedTx transaction) { await Task.Yield(); var sendTxMessage = Messaging.ConstructMessage("tx", transaction.TxBytes.ToArray()); await SendMessageAsync(sendTxMessage); }