-
Notifications
You must be signed in to change notification settings - Fork 296
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mempool: Store transaction descs in pools.
Currently, several places that interact with the maps that house the raw transactions and staged transactions need access to the additional description data for the transaction in addition to the transaction itself. This involves an additional lookup and the need to pass around the map that houses that associated description data to perform the lookup. In order to avoid that additional lookup, passing around the associated map, and to simplify the code, this modifies those maps to store the overall transaction descriptions directly instead of the raw transactions and updates the various consumers accordingly.
- Loading branch information
Showing
1 changed file
with
35 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters