migration16

package
v0.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 4, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MigrateSequenceIndex

func MigrateSequenceIndex(tx kvdb.RwTx) error

MigrateSequenceIndex migrates the payments db to contain a new bucket which provides an index from sequence number to payment hash. This is required for more efficient sequential lookup of payments, which are keyed by payment hash before this migration.

func UseLogger

func UseLogger(logger slog.Logger)

UseLogger uses a specified Logger to output package logging info.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL