This repository has been archived by the owner on Nov 15, 2023. It is now read-only.
Variable tip (auction) signed extension #9855
Labels
J0-enhancement
An additional feature request.
U4-some_day_maybe
Issue might be worth doing eventually.
Z3-substantial
Can be fixed by an experienced coder with a working knowledge of the codebase.
To address a prioritisation issues in case of congested chains, we might want the
tip
to be dynamic instead of static, so that when the time passes the user is willing to pay moretip
to get the transaction included.Original proposal by @jakoblell
Note that while this seems like a simple runtime change, it does require changes in the transaction pool implementation as well. The transaction pool does not query the runtime every time, but rather assumes the validity values are "static" for some time, or rather they can change according to some pre-defined rules (only for
required/provides
now, the rest is assumed to be static for the lifetime of transaction).I think ideally we would change the
priority
field ofValidTransaction
to explicitly state that the priority is dynamic and maybe even expose the entire calculation there (i.e. the pool would be able to compute current priority based on block difference).The text was updated successfully, but these errors were encountered: