loopdb: switch to go.etcd.io/bbolt

github.com/coreos/bbolt has race conditions:
https://github.com/golang/go/issues/54690
This commit is contained in:
Boris Nagaev 2025-03-10 18:00:07 -03:00 committed by Slyghtning
parent d2c08bbb51
commit 2249c41d2f
No known key found for this signature in database
GPG key ID: F82D456EA023C9BF
13 changed files with 12 additions and 15 deletions

View file

@ -12,7 +12,6 @@ import (
"sync/atomic"
"time"
"github.com/coreos/bbolt"
proxy "github.com/grpc-ecosystem/grpc-gateway/v2/runtime"
"github.com/lightninglabs/lndclient"
"github.com/lightninglabs/loop"
@ -33,6 +32,7 @@ import (
"github.com/lightningnetwork/lnd/clock"
"github.com/lightningnetwork/lnd/lntypes"
"github.com/lightningnetwork/lnd/macaroons"
"go.etcd.io/bbolt"
"google.golang.org/grpc"
"google.golang.org/protobuf/encoding/protojson"
"gopkg.in/macaroon-bakery.v2/bakery"