private UInt256 ComputeMerkleRoot() => MerkleTree.ComputeMerkleRoot(Txs);
public static UInt256 ComputeMerkleRoot(IEnumerable <Transaction> txs) { using var mt = new MerkleTree(); mt.AddTransactions(txs); return(mt.GetMerkleRoot()); }