bitcoin-abc icon indicating copy to clipboard operation
bitcoin-abc copied to clipboard

walletdir option

Open Revinand opened this issue 7 years ago • 3 comments

Is it possible to add walletdir option support like in the Bitcoin Core?

Revinand avatar Aug 09 '18 15:08 Revinand

Do you mind linking the corresponding Core diffs so we can evaluate and backport it?

jasonbcox avatar Aug 10 '18 19:08 jasonbcox

Hello. Sorry for the late response. This option is more about multiwallets support added in 0.16.0 version of Core. I didn't dig deep into the code just searched for walletdir occurrences:

Docs

https://github.com/bitcoin/bitcoin/blob/master/doc/release-notes/release-notes-0.16.0.md#wallets-directory-configuration--walletdir

Changes

https://github.com/bitcoin/bitcoin/blob/master/src/wallet/db.cpp#L319 https://github.com/bitcoin/bitcoin/blob/master/src/wallet/db.cpp#L343

https://github.com/bitcoin/bitcoin/blob/master/src/wallet/rpcwallet.cpp#L3090 https://github.com/bitcoin/bitcoin/blob/master/src/wallet/rpcwallet.cpp#L3143 https://github.com/bitcoin/bitcoin/blob/master/src/wallet/rpcwallet.cpp#L3196

https://github.com/bitcoin/bitcoin/blob/master/src/wallet/wallet.cpp#L3962

New files

https://github.com/bitcoin/bitcoin/blob/master/src/wallet/init.cpp https://github.com/bitcoin/bitcoin/blob/master/src/wallet/walletutil.h https://github.com/bitcoin/bitcoin/blob/master/src/wallet/walletutil.cpp

Revinand avatar Aug 21 '18 09:08 Revinand

Is it useful for you?

Revinand avatar Aug 27 '18 14:08 Revinand