public void SideChain()
{
// The wallet receives a coin on the main chain, then on a side chain. Only main chain counts towards balance.
var v1 = Utils.ToNanoCoins(1, 0);
var t1 = TestUtils.CreateFakeTx(_params, v1, _myAddress);
_wallet.Receive(t1, null, BlockChain.NewBlockType.BestChain);
Assert.AreEqual(v1, _wallet.GetBalance());
Assert.AreEqual(1, _wallet.GetPoolSize(Wallet.Pool.Unspent));
Assert.AreEqual(1, _wallet.GetPoolSize(Wallet.Pool.All));
var v2 = Utils.ToNanoCoins(0, 50);
var t2 = TestUtils.CreateFakeTx(_params, v2, _myAddress);
_wallet.Receive(t2, null, BlockChain.NewBlockType.SideChain);
Assert.AreEqual(1, _wallet.GetPoolSize(Wallet.Pool.Inactive));
Assert.AreEqual(2, _wallet.GetPoolSize(Wallet.Pool.All));
Assert.AreEqual(v1, _wallet.GetBalance());
}