New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Address Book related Fixes #358
Conversation
|
Ok i've amended the commits. About 4), I assumed previously that mapPubKey contained a subset of mapAddressBook. Maybe it is (or will become) false, but anyway it is better to add the check. About 5), I hope I've done the wanted changes. About HaveKey(), there are many other occurrences of mapPubKeys that should be replaced as well. |
mapPubKeys is not a subset of mapAddressBook; it contains reserve keys while mapAddressBook doesn't. You can assume for now that mapPubKeys does contain all 'our' keys though, and ignore HaveKey for now. |
Indeed. Reserve keys! |
Can we get a breakdown of the original problems this addresses instead of just what was done to correct them? |
|
ACK. |
NACK - crashes when loading from empty .bitcoin - "Error to load wallet.dat" |
Problem first showed up in 0efc5d29a2d8922b10dcd02a1f1ad7b46258edd8, Ill let you do the rest. |
Yes a small issue with big consequences. Note to myself, I should really keep away from languages that allow me to make such stupid mistakes :-) |
Status update.
|
If 1 has been pulled, why is its commit still listed here? Can you do a rebase, removing the already-merged parts? |
Dunno, the first patch was kind of cherry-picked. |
Rebased against recent changes. Removed 5) since its purpose is no so clear now. |
How relevant are these fixes still? |
6fde93b Add payload creation to the RPC interface (zathras-crypto)
Catch exceptions creating directory paths with -datadir=
Litecoin: Update man files
implement postinst script, fix icons
f7bc944 Update README.md to reflect new binary situation (yanmaani) Pull request description: That URL is wrong, there are in fact binaries, and there's been binaries since at least 2013. ACKs for top commit: domob1812: ACK f7bc944. Tree-SHA512: 69a26fb397d4121bd6dd94bfd93b93c8568e5620f5ebd25202e2347dda9fbdc31b2576fc4b1e7987d2131a7de50b7a8a2336508bd95b501d961e1673c69da839
This is a rebased series of patches from pull request #335
Fix the synchronization of sending addresses between a CWallet and its associated CWalletDB (this was reported independently in Issue CWallet: fix mapAddress book update #350).
Add a check for validity of sending addresses (Issue Validity of sending addresses in the Address Book. #328).
Avoid propagation of unnecessary updates to CWalletDB.
Fix the behavior of setaccount on sending addresses that are already listed in the Address Book. (Issue Using setaccount on addresses that are already listed in the Address Book. #329).
Add wallet methods GetDefaultAddress and SetDefaultAddress (contributed by laanwj in Issue CWallet: fix mapAddress book update #350).