Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MemoryStorage ¶
type MemoryStorage struct {
// contains filtered or unexported fields
}
MemoryStorage ...
func (*MemoryStorage) LoadBlocks ¶ added in v1.3.2
func (storage *MemoryStorage) LoadBlocks(cursor interface{}, count int) ( blocks blockchain.BlockGroup, nextCursor interface{}, err error, )
LoadBlocks ...
func (MemoryStorage) LoadLastBlock ¶
func (storage MemoryStorage) LoadLastBlock() (blockchain.Block, error)
LoadLastBlock ...
func (*MemoryStorage) StoreBlock ¶
func (storage *MemoryStorage) StoreBlock(block blockchain.Block) error
StoreBlock ...
Click to show internal directories.
Click to hide internal directories.