migration24

package
v0.15.5-beta Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MakeLogKey

func MakeLogKey(updateNum uint64) [8]byte

makeLogKey converts a uint64 into an 8 byte array.

func MigrateFwdPkgCleanup

func MigrateFwdPkgCleanup(tx kvdb.RwTx) error

MigrateFwdPkgCleanup deletes all the forwarding packages of closed channels. It determines the closed channels by iterating closedChannelBucket. The ShortChanID found in the ChannelCloseSummary is then used as a key to query the forwarding packages bucket. If a match is found, it will be deleted.

func UseLogger

func UseLogger(logger btclog.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