Merge pull request #9684 from ziggie1984/master

multi: update new walletdb version in main go.mod and kvdb go.mod
This commit is contained in:
Oliver Gugger
2025-04-14 15:56:16 +02:00
committed by GitHub
26 changed files with 59 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)