diff options
author | MarcoFalke <falke.marco@gmail.com> | 2019-05-15 11:32:23 -0400 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2019-05-15 11:32:29 -0400 |
commit | 2d16fb7a2b6a9e5a2535295d2de03e27c2438d1f (patch) | |
tree | 795c54035c96f169eccac7299582fabfa024ced7 /src/netaddress.cpp | |
parent | 65526fc8666fef35ef908dbc225f706bef642c7e (diff) | |
parent | 2d5cf4c41d86f2bdd1df99edc130ade1d093258f (diff) | |
download | bitcoin-2d16fb7a2b6a9e5a2535295d2de03e27c2438d1f.tar.xz |
Merge #14984: rpc: Speedup getrawmempool when verbose=true
2d5cf4c41d rpc: Speedup getrawmempool when verbose=true (João Barbosa)
Pull request description:
Instead of calling `pushKV(hash, info)`, which incurs in duplicate key checks, call `__pushKV` which (currently) doesn't.
Improves RPC `getrawmempool` and REST `/rest/mempool/contents.json`.
Fixes #14765.
ACKs for commit 2d5cf4:
Tree-SHA512: c3e91371bb41f39e79dcef820815e1dc27fb689ca3c4bf3a00467d2215b3baecd44d9792f7a481577a5b7ae1fc6cbaa07b1cd62123b845082eba65b35c2b3ca5
Diffstat (limited to 'src/netaddress.cpp')
0 files changed, 0 insertions, 0 deletions