-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(mempool): cancel previous mempool run when starting new one (#760)
* feat(p2p): throttled channel (cherry picked from commit 5e41958) * feat: limit mempool broadcast to 5/s (cherry picked from commit cdde233) * feat(p2p): channel recv rate limiting - not tested (cherry picked from commit f7f7ce7) * feat(p2p): channel recv rate limiting - continued (cherry picked from commit 54e00f7) * chore(p2p): regen channel mocks * feat(config): mempool tx-send-rate-limit, tx-recv-rate-limit, tx-recv-rate-punish-peer * chore: lint * chore(mempool): burst recv twice as big as burst send * chore: lint * chore: remove not needed log * chore: fixes after merge * refactor(p2p): move chan descs to p2p.channel_params and tune priorities * chore: fix after merge * chore(statesync): fix linter issues - remove unused consts * fix(mempool): cancel previous mempool run when starting new one * test(mempool): no parallel recheck tx task groups * test(mepmpool): increase TestTxMempool_OneRecheckTxAtTime timeout * chore: improve comment * test(mempool): fix TestTxMempool_OneRecheckTxAtTime
- Loading branch information
Showing
2 changed files
with
102 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters