Versions in this module Expand all Collapse all v0 v0.2.0 Feb 14, 2019 Changes in this version + var ErrBlockOrphaned = errors.New("block orphaned") + type WavesDB struct + func NewDB(path string, genesis crypto.Signature) (*WavesDB, error) + func (w *WavesDB) DelRaw(key []byte) error + func (w *WavesDB) Get(block crypto.Signature) (*proto.Block, error) + func (w *WavesDB) GetBlocksAtHeight(height uint64) ([]crypto.Signature, error) + func (w *WavesDB) GetRaw(key []byte) ([]byte, error) + func (w *WavesDB) Has(block crypto.Signature) (bool, error) + func (w *WavesDB) Put(block *proto.Block) error + func (w *WavesDB) PutRaw(key, value []byte) error