diff options
author | Pieter Wuille <pieter.wuille@gmail.com> | 2016-05-31 19:51:45 +0200 |
---|---|---|
committer | Pieter Wuille <pieter.wuille@gmail.com> | 2016-06-06 02:00:23 +0200 |
commit | dbfb426b96fbd79fb76734c6b747ef8ee10ad5ab (patch) | |
tree | 037f92cc469adf1063798e4a79d6bd53a2dbe606 /src/rest.cpp | |
parent | 8d39d7a2cf1559e0ba40681b0ab90f13ea6c0618 (diff) |
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/rest.cpp')
0 files changed, 0 insertions, 0 deletions