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 committed 2023-01-25 14:03:00 +02:00
1 parent 9187d4679b
commit 2fd4f3f180
22 files changed
+160 -217

No files matched your search

+2 -1
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