public ChainManager(IBlockchainStore <Chain> chains,
                     IBlockchainStore <ChainBlockLink> chainBlockLinks,
                     IBlockchainStore <ChainBlockIndex> chainBlockIndexes,
                     IStaticChainInformationProvider staticChainInformationProvider,
                     IChainBlockLinkCacheProvider chainBlockLinkCacheProvider)
 {
     _chains            = chains;
     _chainBlockLinks   = chainBlockLinks;
     _chainBlockIndexes = chainBlockIndexes;
     _staticChainInformationProvider = staticChainInformationProvider;
     _chainBlockLinkCacheProvider    = chainBlockLinkCacheProvider;
 }
示例#2
0
 public ContractRemarksCacheProvider(IChainBlockLinkCacheProvider chainBlockLinkCacheProvider)
 {
     _chainBlockLinkCacheProvider = chainBlockLinkCacheProvider;
     Logger = NullLogger <ContractRemarksCacheProvider> .Instance;
 }