Documentation
¶
Index ¶
Constants ¶
View Source
const ( BlockHeadersDB = "blockheaders" BlocksMissingDB = "blocksmissing" MetadataDB = "metadata" KeystonesDB = "keystones" HeightHashDB = "heighthash" OutputsDB = "outputs" TransactionsDB = "transactions" BlocksDB = "blocks" // raw database )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶ added in v0.16.1
func NewDefaultConfig ¶ added in v0.16.1
type Database ¶
type Database struct {
// contains filtered or unexported fields
}
func (*Database) RegisterNotification ¶
func (l *Database) RegisterNotification(ctx context.Context, n database.NotificationName, f database.NotificationCallback, payload any) error
func (*Database) UnregisterNotification ¶
func (l *Database) UnregisterNotification(n database.NotificationName) error
Click to show internal directories.
Click to hide internal directories.