Documentation ¶ Index ¶ Constants type Cache func NewCache(consensus *sidechain.Consensus, path string) (*Cache, error) func (c *Cache) Close() func (c *Cache) Flush() func (c *Cache) LoadAll(l cache.Loadee) func (c *Cache) Store(block *sidechain.PoolBlock) Constants ¶ View Source const NumBlocks = 4608 Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Cache ¶ type Cache struct { // contains filtered or unexported fields } func NewCache ¶ func NewCache(consensus *sidechain.Consensus, path string) (*Cache, error) func (*Cache) Close ¶ func (c *Cache) Close() func (*Cache) Flush ¶ func (c *Cache) Flush() func (*Cache) LoadAll ¶ func (c *Cache) LoadAll(l cache.Loadee) func (*Cache) Store ¶ func (c *Cache) Store(block *sidechain.PoolBlock) Source Files ¶ View all Source files legacy.go Click to show internal directories. Click to hide internal directories.