channeldb: boiler plate code for migration32

In preparation for the commit which will add the main logic for
migration 32 (which will migrate the MC store to use a more minimal
encoding), this commit just adds some of the code that the migration
will need to the package.
This commit is contained in:
Elle Mouton committed 2024-09-30 11:40:25 +02:00
1 parent 82ae0220c8
commit 96445f99b4
5 files changed
+804

No files matched your search

+14
View File
@@ -0,0 +1,14 @@
package migration32
import (
"github.com/btcsuite/btclog"
)
// log is a logger that is initialized as disabled. This means the package will
// not perform any logging by default until a logger is set.
var log = btclog.Disabled
// UseLogger uses a specified Logger to output package logging info.
func UseLogger(logger btclog.Logger) {
log = logger
}