Conversation
|
The main benefits of this PR:
|
There was a problem hiding this comment.
Nit: Is there a compelling reason to do this?
There was a problem hiding this comment.
Encrypting the wallet does stop the process,... i think this is required.
|
concept ACK |
src/wallet/walletdb.h
Outdated
|
Note to test: If encrypting wallet fails for any reason at any late stage, the wallet should retain all unencrypted data. |
|
Concept ACK |
src/init.cpp
Outdated
There was a problem hiding this comment.
Probably should make this clear it only happens upon first run of the wallet.
There was a problem hiding this comment.
Probably should make this clear it only happens upon first run of the wallet.
I agree, -hdseed as startup parameter is somehow not ideal. Not seeding the wallet at first start, would require an additional rpc command (something generatehdwallet, seedwallet, etc.).
Or an additional "bitcoin-wallet" tool that could allow generating and manipulating wallet.dat files.
But because I fear lack of reviewer, I don't want to make this PR more complex for now.
42d2a1a to
915b69d
Compare
|
Rebased and fixed reported nits. |
src/wallet/walletdb.cpp
Outdated
| return false; | ||
|
|
||
| Erase(std::make_pair(std::string("hdmasterseed"), hash)); | ||
| Erase(std::make_pair(std::string("hdmasterseed"), hash)); |
- master seeds are kept seperated and can be encrypted
915b69d to
3494217
Compare
|
Rebased and fixed some nits. |
Most simplest HD feature.
ment as a starting point, have concrete plans to extend this, but don't want to overload this PR
getnewaddress "" true(last parametertrue= "show details") returns an object if the new address was hd derived:{ "address": "n1EU7TC4YqVYGQYy5eav1APHhS3z3Jrgf4", "keypath": "m/0'/230'" }(same for
getaddressesbyaccount)