Documentation ¶
Overview ¶
Package database defines a beacon chain DB service that can be initialized with either a persistent db, or an in-memory kv-store.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BeaconDB ¶
type BeaconDB struct {
// contains filtered or unexported fields
}
BeaconDB defines a service for the beacon chain system's persistent storage.
func NewBeaconDB ¶
func NewBeaconDB(config *BeaconDBConfig) (*BeaconDB, error)
NewBeaconDB initializes a beaconDB instance.
type BeaconDBConfig ¶
BeaconDBConfig specifies configuration options for the db service.
Click to show internal directories.
Click to hide internal directories.