Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prioritize our own control transactions in the mempool #904

Closed
viquezclaudio opened this issue Jun 27, 2022 · 1 comment
Closed

Prioritize our own control transactions in the mempool #904

viquezclaudio opened this issue Jun 27, 2022 · 1 comment
Assignees

Comments

@viquezclaudio
Copy link
Member

Our own (from a validator perspective) unpack and reactivate transactions should have a higher priority.

The objective of this task is to create an API to allow to specify a priority to transactions that are added into the mempool and expose this functionality via RPC.
With this implementation, transactions would be ordered in the mempool by:

  1. Priority
  2. Fee per byte
  3. Insertion order

And when transactions are returned from mempool, higher priority txns will be returned first...

@viquezclaudio viquezclaudio self-assigned this Jun 27, 2022
@viquezclaudio viquezclaudio added this to the Nimiq 2.0 Testnet milestone Jun 27, 2022
@jsdanielh
Copy link
Member

Implemented in #920.

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

No branches or pull requests

2 participants