You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 22, 2025. It is now read-only.
SendTransactionService is the primary way user transactions get sent from RPC to leader
SendTransactionService does not consider transaction priority at all in the sending order
or in the dropping order when the "queue" is full. It is simply done randomly.
Random order incentivizes spamming multiple RPCs in hopes to randomly get to the top of their retry map
Proposed Solution
SendTransactionService should have some sort of priority-queue that we use to drop lowest priority transactions, and send/retry transactions with higher priority first.
Because we want to consider priority, we should be reasonably sure txs can pay for fees. We already load and check nonce-accounts, it seems reasonable we could load and check fee-payer balance.
Problem
or in the dropping order when the "queue" is full. It is simply done randomly.
Proposed Solution