aboutsummaryrefslogtreecommitdiff
path: root/src/txmempool.cpp
diff options
context:
space:
mode:
authorPieter Wuille <[email protected]>2016-05-31 19:51:45 +0200
committerPieter Wuille <[email protected]>2016-06-06 02:00:23 +0200
commitdbfb426b96fbd79fb76734c6b747ef8ee10ad5ab (patch)
tree037f92cc469adf1063798e4a79d6bd53a2dbe606 /src/txmempool.cpp
parentSwitch CTransaction storage in mempool to std::shared_ptr (diff)
downloaddiscoin-dbfb426b96fbd79fb76734c6b747ef8ee10ad5ab.tar.xz
discoin-dbfb426b96fbd79fb76734c6b747ef8ee10ad5ab.zip
Optimize the relay map to use shared_ptr's
* Switch mapRelay to use shared_ptr<CTransaction> * Switch the relay code to copy mempool shared_ptr's, rather than copying the transaction itself. * Change vRelayExpiration to store mapRelay iterators rather than hashes (smaller and faster).
Diffstat (limited to 'src/txmempool.cpp')
0 files changed, 0 insertions, 0 deletions