public void Load(string blockFolder)
        {
            var store = new NBitcoin.BitcoinCore.BlockStore(blockFolder, this._Tester.Client.Configuration.Network);

            foreach (var block in store.Enumerate(false))
            {
                SubmitBlock(block.Item);
            }
        }
Example #2
0
 public IndexedBlockStore(NoSqlRepository index, BlockStore store)
     : base(index, store)
 {
     _Store       = store;
     IndexedLimit = "Last Index Position";
 }