Skip to content

Address Book related Fixes - #335

Closed
sgimenez wants to merge 7 commits into
bitcoin:masterfrom
sgimenez:master
Closed

sgimenez wants to merge 7 commits into
bitcoin:masterfrom
sgimenez:master

Conversation

@sgimenez

Copy link
Copy Markdown
Contributor

Add a check for validity of sending addresses (Issue #328).
Fix the behaviour of setaccount on sending addresses that are already listed in the Address Book. (Issue #329).
This also fixes the syncrhonization of sending addresses between a
CWallet and its associated CWalletDB, and avoids unnecessary CWalletDB updates.

This is my first commit. It is quite small, but please review it in details before the pull.
Thanks.

sgimenez added 2 commits June 20, 2011 23:29
This also fixes the syncrhonization of sending addresses between a
CWallet and its associated CWalletDB.
@sgimenez

Copy link
Copy Markdown
Contributor Author

Mmm, some calls to {Set,Del}AddressBookName were wraped in a

CRITICAL_BLOCK(pwalletMain->cs_mapAddressBook)

and some were not. Now, all of them should be, since map operations are not guaranteed to be atomic.
Correct me if I'm wrong.

Also, calls to CWalletDB(...).{Write,Erase}Name could be avoided in the case data would be be unmodified.
Any problems with that?

@sgimenez

Copy link
Copy Markdown
Contributor Author

I've added contribution from laanwj in Issue #350.

A rebased and cleaned series of patches is available in sgimenez:addressbookfixes branch.
Should I set up a new pull request and close this one?

@sgimenez sgimenez closed this Jun 27, 2011
zathras-crypto pushed a commit to zathras-crypto/omnicore that referenced this pull request Jan 29, 2016
9032a77 Only use minimum logging for Windows CI tests (dexX7)
34186d1 Disable logging to speed up RPC tests (dexX7)
deadalnix pushed a commit to deadalnix/bitcoin that referenced this pull request Mar 25, 2017
Add a config for max transaction fees
ptschip pushed a commit to ptschip/bitcoin that referenced this pull request Apr 24, 2017
classesjack pushed a commit to classesjack/bitcoin that referenced this pull request Jan 2, 2018
…-for-rpcmaxgasprice

Updated tests to account for rpcmaxgasprice
rajarshimaitra pushed a commit to rajarshimaitra/bitcoin that referenced this pull request Aug 5, 2021
@bitcoin bitcoin locked as resolved and limited conversation to collaborators Sep 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants