Skip to content

Conversation

ziggie1984
Copy link
Contributor

@ziggie1984 ziggie1984 commented Apr 9, 2025

Depends on:

#998 (needs updated walletdb version)

and

#1000 (needs a new wtxmgr tag)

@ziggie1984 ziggie1984 force-pushed the update-walletdb-btcwallet branch 2 times, most recently from 3e97a04 to 1fc6ef9 Compare April 9, 2025 13:10
@ziggie1984 ziggie1984 force-pushed the update-walletdb-btcwallet branch from 1fc6ef9 to 9f02da9 Compare April 9, 2025 13:47
Copy link
Collaborator

@yyforyongyu yyforyongyu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM🦾

@@ -163,7 +163,7 @@ func rpcClientConnectLoop(legacyRPCServer *legacyrpc.Server, loader *wallet.Load
netDir := networkDir(cfg.AppDataDir.Value, activeNet.Params)
spvdb, err = walletdb.Create(
"bdb", filepath.Join(netDir, "neutrino.db"),
true, cfg.DBTimeout,
true, cfg.DBTimeout, false,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some future PRs - we may create a walletdb config struct so it's easier to understand what these params mean

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

def, not sure if it is possible tho, because the parameters are different for the other dbs ?

@ziggie1984 ziggie1984 force-pushed the update-walletdb-btcwallet branch from 9f02da9 to e73d387 Compare April 9, 2025 14:03
@guggero guggero merged commit 8e790bf into btcsuite:master Apr 9, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants