romanz / electrs

An efficient re-implementation of Electrum Server in Rust
MIT License
1.06k stars 395 forks source link

batched mempool fetching should be smart about which TXs to fetch #981

Open conduition opened 9 months ago

conduition commented 9 months ago

See this thread for more info: https://github.com/romanz/electrs/pull/979#discussion_r1435404723

The batched mempool TX fetching logic should chunk TXs intelligently based on their expected size, so that we don't fetch too many large transactions (e.g. inscriptions) at once.