Documentation ¶
Index ¶
Constants ¶
View Source
const ( Genesis = 0 Latest = ^uint64(0) BlockNameLatest = "latest" BlockNameGen = "genesis" )
View Source
const DBPath = "/blocks"
View Source
const MessagePrefix = byte('b')
Variables ¶
View Source
var ( LatestPosBlockIdxKey = []byte("LatestPosBlockIndex") ErrBlockNotFound = errors.New("can not found block") )
Functions ¶
Types ¶
type MergeWriter ¶
type MergeWriter interface { AVdbComm.VDBCacheServices // contains filtered or unexported methods }
type Services ¶
type Services interface { AVdbComm.VDBSerices // contains filtered or unexported methods }
func CreateServices ¶
func CreateServices(ind *core.IpfsNode, idxServices indexes.IndexesServices) Services
Click to show internal directories.
Click to hide internal directories.