Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
core: make txpool operate on immutable state #15085
Apparently the transaction pool (and handling in general) had 3 different update pathways:
Unfortunately, the above is a very very bad idea from multiple perspectives:
This PR tries to fix all these races via reducing the transaction pool's API surface to one single entry point: chain head events.