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; }
public ContractRemarksCacheProvider(IChainBlockLinkCacheProvider chainBlockLinkCacheProvider) { _chainBlockLinkCacheProvider = chainBlockLinkCacheProvider; Logger = NullLogger <ContractRemarksCacheProvider> .Instance; }