MCPcopy Create free account
hub / github.com/DNAProject/DNA / BlockCache

Struct BlockCache

core/store/ledgerstore/block_cache.go:44–47  ·  view source on GitHub ↗

BlockCache with block cache and transaction hash

Source from the content-addressed store, hash-verified

42
43//BlockCache with block cache and transaction hash
44type BlockCache struct {
45 blockCache *lru.ARCCache
46 transactionCache *lru.ARCCache
47}
48
49//NewBlockCache return BlockCache instance
50func NewBlockCache() (*BlockCache, error) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected