microblock_cache

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MicroblockCache

type MicroblockCache struct {
	// contains filtered or unexported fields
}

func NewMicroblockCache

func NewMicroblockCache() *MicroblockCache

func (*MicroblockCache) Add

func (a *MicroblockCache) Add(blockID proto.BlockID, micro *proto.MicroBlock)

func (*MicroblockCache) Get

type MicroblockInvCache

type MicroblockInvCache struct {
	// contains filtered or unexported fields
}

func NewMicroblockInvCache

func NewMicroblockInvCache() *MicroblockInvCache

func (*MicroblockInvCache) Add

func (a *MicroblockInvCache) Add(blockID proto.BlockID, micro *proto.MicroBlockInv)

func (*MicroblockInvCache) Get

Jump to

Keyboard shortcuts

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