diff options
| author | Pieter Wuille <[email protected]> | 2016-05-31 19:51:45 +0200 |
|---|---|---|
| committer | Pieter Wuille <[email protected]> | 2016-06-06 02:00:23 +0200 |
| commit | dbfb426b96fbd79fb76734c6b747ef8ee10ad5ab (patch) | |
| tree | 037f92cc469adf1063798e4a79d6bd53a2dbe606 /src/txmempool.cpp | |
| parent | Switch CTransaction storage in mempool to std::shared_ptr (diff) | |
| download | discoin-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