private UnspentOutputSet GetMockOutputSet() { Transaction transaction = this.network.Consensus.ConsensusFactory.CreateTransaction(); var fakeTxOut = new TxOut { Value = 100_000_000 }; var coins = new UnspentOutput(new OutPoint(uint256.Zero, 0), new Coins(0, fakeTxOut, false)); var unspentOutputs = new UnspentOutputSet(); unspentOutputs.SetCoins(new[] { coins }); return(unspentOutputs); }
private UnspentOutputSet GetMockOutputSet() { Transaction transaction = this.network.Consensus.ConsensusFactory.CreateTransaction(); var fakeTxOut = new TxOut { Value = 100_000_000 }; var coins = new UnspentOutputs(new uint(), transaction) { Outputs = new TxOut[] { fakeTxOut } }; var unspentOutputs = new UnspentOutputSet(); unspentOutputs.SetCoins(new[] { coins }); return(unspentOutputs); }