public void SetUp()
{
_testNetChainBlockStore = new MemoryBlockStore(_testNet);
_testNetChain = new BlockChain(_testNet, new Wallet(_testNet), _testNetChainBlockStore);
_unitTestParams = NetworkParameters.UnitTests();
_wallet = new Wallet(_unitTestParams);
_wallet.AddKey(new EcKey());
ResetBlockStore();
_chain = new BlockChain(_unitTestParams, _wallet, _blockStore);
_coinbaseTo = _wallet.Keychain[0].ToAddress(_unitTestParams);
}