HomePhabricator

Optimize the relay map to use shared_ptr's
dbfb426b96fbUnpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

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).

Details

Provenance
Pieter Wuille <pieter.wuille@gmail.com>Authored on May 31 2016, 17:51
deadalnixPushed on May 14 2017, 22:04
Parents
rABC8d39d7a2cf15: Switch CTransaction storage in mempool to std::shared_ptr
Branches
Unknown
Tags
Unknown

Event Timeline

Pieter Wuille <pieter.wuille@gmail.com> committed rABCdbfb426b96fb: Optimize the relay map to use shared_ptr's (authored by Pieter Wuille <pieter.wuille@gmail.com>).Jun 6 2016, 00:00