go.mod+lnrpc+github: point to latest kvdb changes

Use kvdb package v1.4.1. This update also forced the protobuf version to
be bumped which required `make rpc` to be run to update the generated
files. This also required a bump in the github pinned dependencies
config for the grpc and protobuf libs.
This commit is contained in:
Elle Mouton
2022-12-15 18:15:48 +02:00
parent 9187d4679b
commit 2fd4f3f180
22 changed files with 160 additions and 217 deletions

View File

@@ -8,6 +8,7 @@ import (
"github.com/lightningnetwork/lnd/kvdb"
"github.com/lightningnetwork/lnd/kvdb/etcd"
"github.com/lightningnetwork/lnd/kvdb/postgres"
"github.com/lightningnetwork/lnd/kvdb/sqlbase"
"github.com/lightningnetwork/lnd/lnwallet/btcwallet"
)
@@ -142,7 +143,7 @@ func (db *DB) Init(ctx context.Context, dbPath string) error {
db.Etcd = cfg
case db.Backend == PostgresBackend:
postgres.Init(db.Postgres.MaxConnections)
sqlbase.Init(db.Postgres.MaxConnections)
}
return nil