Skip to content

Keep mempool accounts view cache#511

Merged
Bushstar merged 3 commits into
masterfrom
feature/mempool_view
Jun 10, 2021
Merged

Keep mempool accounts view cache#511
Bushstar merged 3 commits into
masterfrom
feature/mempool_view

Conversation

@bvbfan

@bvbfan bvbfan commented Jun 8, 2021

Copy link
Copy Markdown
Contributor

/kind feature

What this PR does / why we need it:

Mempool menages a view of account changes to its txs. It will prevent trigger of rewards recalculation on every insert.

Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
Comment thread src/txmempool.cpp
Comment thread src/txmempool.cpp Outdated
@Bushstar Bushstar merged commit 7bde86d into master Jun 10, 2021
@Bushstar Bushstar deleted the feature/mempool_view branch June 10, 2021 05:49
bvbfan added a commit that referenced this pull request Jun 10, 2021
* Keep mempool accounts view cache

Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>

* Iterate over mempool undo only

Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants