Skip to content
This repository was archived by the owner on Jan 22, 2025. It is now read-only.

Optimize prioritization fee cache#35228

Closed
fanatid wants to merge 7 commits intosolana-labs:masterfrom
fanatid:getRPF-opt
Closed

Optimize prioritization fee cache#35228
fanatid wants to merge 7 commits intosolana-labs:masterfrom
fanatid:getRPF-opt

Conversation

@fanatid
Copy link
Copy Markdown
Contributor

@fanatid fanatid commented Feb 19, 2024

Problem

PrioritizationFeeCache needs to lock cache for every new transaction.

Summary of Changes

Instead of using a shared cache for everything, we can use a map in the update thread and update the shared cache when finalizing slot. PR also removes not required arcs and maps.

@mergify mergify Bot added community Community contribution need:merge-assist labels Feb 19, 2024
@mergify mergify Bot requested a review from a team February 19, 2024 04:36
@willhickey
Copy link
Copy Markdown
Contributor

This repository is no longer in use. Please re-open this pull request in the agave repo: https://github.com/anza-xyz/agave

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

community Community contribution need:merge-assist

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants