Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DB ¶
type DB struct {
// contains filtered or unexported fields
}
DB is a bbolt key/value database.
func (*DB) HeaderByHeight ¶
func (db *DB) HeaderByHeight(height int) (*wire.BlockHeader, error)
HeaderByHeight implements headers.DBInterface.
func (*DB) PutHeader ¶
func (db *DB) PutHeader(height int, header *wire.BlockHeader) error
PutHeader implements headers.DBInterface.
Click to show internal directories.
Click to hide internal directories.