Reject transactions that consume fee notes
Ouverte
#2,558
0 commentaires
1 réaction
1 personne assignée
Réclamée par @Mirko-von-Leipzig
Voir sur GitHub
block-producer
mempool
rpc
- Langage dominant
- Rust
- Étoiles
- 104
- Forks
- 138
- Merge moyen
- 1 j 13 h
- PR mergées (30 j)
- 56
Description
Only the batch builder is allowed to consume these.
Otherwise we would allow:
1. tx a emits fee note a'.
2. tx b emits fee note b' but also consumes (aka steals) a'. This is possible because fee notes are floating.
This would lead to confusing situations in the mempool where a fee note would be attempted to consume multiple times; or in the case where both a & b land in the same batch, that the batch builder doesn't even see a'.
The simplest short term patch is to simply disallow such transactions.
Guide de contribution
Ouvrir le guide de contribution
Évaluation
Cette issue n'a pas encore été évaluée.