diff options
author | MarcoFalke <falke.marco@gmail.com> | 2017-11-10 14:22:36 -0500 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2017-11-10 14:22:45 -0500 |
commit | 05a761932edd05cf94ffe938908baf058f38632a (patch) | |
tree | 793cc2adc18abbda31ebb43a3d9974d7bc24d415 /src/txmempool.cpp | |
parent | ee92243e66f2df03b3a759a8ffb75dc06f0cea0d (diff) | |
parent | 5b9748f979dd65b229e2882e670794c46e2e720b (diff) |
Merge #11353: Small refactor of CCoinsViewCache::BatchWrite()
5b9748f97 Small refactor of CCoinsViewCache::BatchWrite() (Dan Raviv)
Pull request description:
`std::unordered_map::erase( const_iterator pos )` returns an iterator to the element following the removed one. Use that to optimize (probably minor-performance-wise, and definitely code-structure-wise) the implementation of `CCoinsViewCache::BatchWrite()`.
Tree-SHA512: 00abc838ad91771cfcddd45688841c9414869b75289d09b483a7f0ba835614fe189e9c8aca8a80e3de78ee397ec14083ae52e2e92b7863b3b6eb0d0cb892c9dd
Diffstat (limited to 'src/txmempool.cpp')
0 files changed, 0 insertions, 0 deletions