legacy

package
v4.0.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 9, 2024 License: MIT Imports: 9 Imported by: 1

Documentation

Index

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL