Versions in this module Expand all Collapse all v0 v0.3.1 May 12, 2015 Changes in this version + var ErrUnknownBlock = errors.New("unknown block") + var NilDB nildb + type DB interface + AddBlock func(types.Block) error + Block func(types.BlockHeight) (types.Block, error) + Close func() error + Height func() (types.BlockHeight, error) + RemoveBlock func() error + func Open(filename string) (DB, error)