BitSharper.Test.ChainSplitTests.SetUp C# (CSharp) Method

SetUp() private method

private SetUp ( ) : void
return void
        public void SetUp()
        {
            _unitTestParams = NetworkParameters.UnitTests();
            _wallet = new Wallet(_unitTestParams);
            _wallet.AddKey(new EcKey());
            _chainBlockStore = new MemoryBlockStore(_unitTestParams);
            _chain = new BlockChain(_unitTestParams, _wallet, _chainBlockStore);
            _coinbaseTo = _wallet.Keychain[0].ToAddress(_unitTestParams);
            _someOtherGuy = new EcKey().ToAddress(_unitTestParams);
        }