Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrBadVersion = errors.New("incompatible version") ErrBadHeader = errors.New("wrong header") )
View Source
var (
ErrUnknownBlock = errors.New("unknown block")
)
View Source
var NilDB nildb
NilDB is a db whose methods are no-ops. Calls to Block will return the zero value of types.Block. Calls to Height will return 0.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.