Documentation ¶ Index ¶ type Pebble func NewPebble(path string) (*Pebble, error) func (repo *Pebble) Close() error func (repo *Pebble) Delete(heightMin, heightMax int32) error func (repo *Pebble) Flush() error func (repo *Pebble) Get(height int32) (*chainhash.Hash, error) func (repo *Pebble) Load() (int32, error) func (repo *Pebble) Set(height int32, hash *chainhash.Hash) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Pebble ¶ type Pebble struct { // contains filtered or unexported fields } func NewPebble ¶ func NewPebble(path string) (*Pebble, error) func (*Pebble) Close ¶ func (repo *Pebble) Close() error func (*Pebble) Delete ¶ func (repo *Pebble) Delete(heightMin, heightMax int32) error func (*Pebble) Flush ¶ func (repo *Pebble) Flush() error func (*Pebble) Get ¶ func (repo *Pebble) Get(height int32) (*chainhash.Hash, error) func (*Pebble) Load ¶ func (repo *Pebble) Load() (int32, error) func (*Pebble) Set ¶ func (repo *Pebble) Set(height int32, hash *chainhash.Hash) error Source Files ¶ View all Source files pebble.go Click to show internal directories. Click to hide internal directories.