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 ¶
func (a *MicroblockCache) Get(sig proto.BlockID) (*proto.MicroBlock, bool)
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 ¶
func (a *MicroblockInvCache) Get(sig proto.BlockID) (*proto.MicroBlockInv, bool)
Click to show internal directories.
Click to hide internal directories.