multi: update walletdb package

This commit is contained in:
ziggie
2025-04-09 12:13:48 +02:00
parent 867d27d68a
commit 490347b056
25 changed files with 55 additions and 31 deletions

View File

@@ -757,7 +757,8 @@ var interfaceImpls = []struct {
dbName := filepath.Join(spvDir, "neutrino.db")
spvDatabase, err := walletdb.Create(
"bdb", dbName, true, kvdb.DefaultDBTimeout,
kvdb.BoltBackendName, dbName, true,
kvdb.DefaultDBTimeout, false,
)
if err != nil {
return nil, err

View File

@@ -152,6 +152,7 @@ func (c *integratedRoutingContext) testPayment(maxParts uint32,
db, err := kvdb.Open(
kvdb.BoltBackendName, dbPath, true, kvdb.DefaultDBTimeout,
false,
)
if err != nil {
c.t.Fatal(err)

View File

@@ -54,6 +54,7 @@ func newMCStoreTestHarness(t testing.TB, maxRecords int,
db, err := kvdb.Create(
kvdb.BoltBackendName, dbPath, true, kvdb.DefaultDBTimeout,
false,
)
require.NoError(t, err)
t.Cleanup(func() {

View File

@@ -72,6 +72,7 @@ func createMcTestContext(t *testing.T) *mcTestContext {
ctx.db, err = kvdb.Open(
kvdb.BoltBackendName, ctx.dbPath, true, kvdb.DefaultDBTimeout,
false,
)
if err != nil {
t.Fatal(err)