aboutsummaryrefslogtreecommitdiff
path: root/src/httpserver.cpp
diff options
context:
space:
mode:
authorWladimir J. van der Laan <[email protected]>2017-08-18 16:15:20 +0200
committerWladimir J. van der Laan <[email protected]>2017-08-18 16:25:59 +0200
commitfc51565cbd4c6caf9c3f8b65fb65b4c0d6297550 (patch)
tree4ef8dc58da08e15a3e9a8dccc5a759de87b98412 /src/httpserver.cpp
parentMerge #11066: Document the preference of nullptr over NULL or (void*)0 (diff)
parentwallet: Avoid second mapWallet lookup (diff)
downloaddiscoin-fc51565cbd4c6caf9c3f8b65fb65b4c0d6297550.tar.xz
discoin-fc51565cbd4c6caf9c3f8b65fb65b4c0d6297550.zip
Merge #11039: Avoid second mapWallet lookup
8f2f1e0 wallet: Avoid second mapWallet lookup (João Barbosa) Pull request description: All calls to `mapWallet.count()` have the intent to detect if a `txid` exists and most are followed by a second lookup to retrieve the `CWalletTx`. This PR replaces all `mapWallet.count()` calls with `mapWallet.find()` to avoid the second lookup. Tree-SHA512: 96b7de7f5520ebf789a1aec1949a4e9c74e13683869cee012f717e5be8e51097d068e2347a36e89097c9a89f1ed1a1529db71760dac9b572e36a3e9ac1155f29
Diffstat (limited to 'src/httpserver.cpp')
0 files changed, 0 insertions, 0 deletions