Beispiel #1
0
        public void CanRoundtripCmpctBlock()
        {
            Block block = Network.Main.Consensus.ConsensusFactory.CreateBlock();

            block.Transactions.Add(Network.Main.Consensus.ConsensusFactory.CreateTransaction());
            var cmpct = new CmpctBlockPayload(block);

            cmpct.Clone();
        }
Beispiel #2
0
        public void CanRoundtripCmpctBlock()
        {
            Block block = new Block();

            block.Transactions.Add(new Transaction());
            var cmpct = new CmpctBlockPayload(block);

            cmpct.Clone();
        }