BlockCache with block cache and transaction hash
| 42 | |
| 43 | //BlockCache with block cache and transaction hash |
| 44 | type BlockCache struct { |
| 45 | blockCache *lru.ARCCache |
| 46 | transactionCache *lru.ARCCache |
| 47 | } |
| 48 | |
| 49 | //NewBlockCache return BlockCache instance |
| 50 | func NewBlockCache() (*BlockCache, error) { |
nothing calls this directly
no outgoing calls
no test coverage detected