Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddressableCache ¶
type AddressableCache interface { Cache RemoveByMainId(id types.Hash) RemoveByTemplateId(id types.Hash) LoadByMainId(id types.Hash) *sidechain.PoolBlock // LoadByTemplateId returns a slice of loaded blocks. If more than one, these might have colliding nonce / extra nonce values LoadByTemplateId(id types.Hash) sidechain.UniquePoolBlockSlice LoadBySideChainHeight(height uint64) sidechain.UniquePoolBlockSlice LoadByMainChainHeight(height uint64) sidechain.UniquePoolBlockSlice // ProcessBlock blocks returned on other Load methods may return pruned/compact blocks. Use this to process them ProcessBlock(block *sidechain.PoolBlock) error }
type IndexedCache ¶
type IndexedCache interface { AddressableCache }
Click to show internal directories.
Click to hide internal directories.