public void Initialize(Context context) { this.context = context; this.store = new StakeBlockStore(this.context.Config.FolderLocation, this.context.Network); this.indexStore = new IndexedStakeBlockStore(new InMemoryNoSqlRepository(), store); this.TransactionIndex = new TransactionToBlockItemIndex(this.context); this.blockMemoryStore = new BlockMemoryStore(this.context); this.AlternateTips = new Dictionary <uint256, ChainedBlock>(); }
public IndexedStakeBlockStore(NoSqlRepository index, StakeBlockStore store) : base(index, store) { Store = store; IndexedLimit = "Last Index Position"; }