validatorInfoCacherStub

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2024 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ValidatorInfoCacherStub

type ValidatorInfoCacherStub struct {
	CleanCalled            func()
	AddValidatorInfoCalled func(validatorInfoHash []byte, validatorInfo *state.ShardValidatorInfo)
	GetValidatorInfoCalled func(validatorInfoHash []byte) (*state.ShardValidatorInfo, error)
}

ValidatorInfoCacherStub -

func (*ValidatorInfoCacherStub) AddValidatorInfo

func (vics *ValidatorInfoCacherStub) AddValidatorInfo(validatorInfoHash []byte, validatorInfo *state.ShardValidatorInfo)

AddValidatorInfo -

func (*ValidatorInfoCacherStub) Clean

func (vics *ValidatorInfoCacherStub) Clean()

Clean -

func (*ValidatorInfoCacherStub) GetValidatorInfo

func (vics *ValidatorInfoCacherStub) GetValidatorInfo(validatorInfoHash []byte) (*state.ShardValidatorInfo, error)

GetValidatorInfo -

func (*ValidatorInfoCacherStub) IsInterfaceNil

func (vics *ValidatorInfoCacherStub) IsInterfaceNil() bool

IsInterfaceNil returns true if there is no value under the interface

Jump to

Keyboard shortcuts

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