Commit Graph

365 Commits

Author SHA1 Message Date
Thomas Coratger
466adc4b14 add minor improvements (#6448) 2024-02-06 19:35:33 +00:00
Emilia Hane
4afc3b7f5c Drop lock on listener as early as possible (#6414) 2024-02-06 12:37:19 +00:00
Dan Cline
5b847cba4f feat: add size generator to MockTransactionDistribution (#6426) 2024-02-05 21:25:45 +00:00
Alexey Shekhirin
6c1263e000 fix(tracing): prioritize RUST_LOG and verbosity CLI arg (#6413) 2024-02-05 19:42:32 +00:00
Thomas Coratger
b9ade51c01 Deprecate best_transactions_with_base_fee (#6394)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2024-02-05 16:42:07 +01:00
Matthias Seitz
1a8440ae1f chore: rm trait bounds (#6402) 2024-02-05 14:17:59 +01:00
Thomas Coratger
1f12203723 add TestPoolWrapper around TestPool (#6395) 2024-02-05 12:40:53 +00:00
Matthias Seitz
2d01f36086 docs: add more docs for on_canonical_state_change (#6380) 2024-02-05 09:02:58 +00:00
Matthias Seitz
4dc6aeefa9 chore: apply missing const for fn lint txpool (#6381) 2024-02-03 17:33:05 +00:00
Delweng
57eef7ea03 feature: add Blob pool metrics (#6373)
Signed-off-by: jsvisa <delweng@gmail.com>
2024-02-03 14:07:01 +00:00
Dan Cline
72b7caa4c4 fix: add test for truncating parked with large transactions (#6366) 2024-02-03 01:39:38 +00:00
Matthias Seitz
d4dffa2ee4 fix: bad blob pool eviction (#6368) 2024-02-03 00:00:51 +00:00
Dan Cline
e86b2c175f feat: remove blobs associated with discarded blob txs (#6361) 2024-02-02 20:19:03 +00:00
Matthias Seitz
30aa3e6792 perf: do heavy blob validation last (#6352) 2024-02-02 17:48:46 +00:00
Matthias Seitz
648a084ba8 docs: a few more validation task docs (#6351) 2024-02-02 16:36:15 +00:00
Qiwei Yang
021941a2c2 fix: Remove redundant Result wrapper (#6345) 2024-02-02 14:01:53 +00:00
Dan Cline
39f96027f1 feat: add all transaction types to MockTransactionDistribution (#6337) 2024-02-01 19:50:31 +00:00
Aditya Pandey
b3020716cd General purpose best transaction implementation (#6203)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2024-01-31 21:35:22 +00:00
Emilia Hane
34cda3a99f Sanitise eth68 announcement (#6222)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
Co-authored-by: Bjerg <onbjerg@users.noreply.github.com>
Co-authored-by: Dan Cline <6798349+Rjected@users.noreply.github.com>
2024-01-31 13:19:51 +00:00
Emilia Hane
606640285e Bug fix, increase tx response soft limit (#6301) 2024-01-30 22:17:31 +00:00
Matthias Seitz
6421660325 fix: pool eviction bug (#6284) 2024-01-30 16:25:24 +00:00
Thomas Coratger
11f50f873e add a way to generate random balances in MockTransactionSimulator (#6279) 2024-01-30 01:06:16 +00:00
Thomas Coratger
7ad81d52e6 add unit tests for is_empty method for Account (#6265) 2024-01-29 22:21:53 +00:00
Thomas Coratger
d68a3dacad get queued and pending transactions by sender in tx pool (#6256) 2024-01-28 15:31:11 +00:00
Thomas Coratger
039a696966 Solve some clippy stuffs (#6247) 2024-01-26 17:13:58 +00:00
DaniPopes
0aa22466d2 chore: use Display when formatting addresses and hashes (#6245) 2024-01-26 14:57:08 +00:00
Roman Krasiuk
e78ae77685 feat(cli): local tx propagation toggle (#6224) 2024-01-25 16:13:09 +00:00
Thomas Coratger
734109e968 improve documentation and refactor transaction-pool gen test utils (#6142) 2024-01-21 17:07:05 +00:00
Erce Can Bektüre
630fd45da6 fix price bump issue in is_underpriced (#6076)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2024-01-16 09:38:14 +00:00
Thomas Coratger
030a1fd0f8 some refactoring in transaction-pool mock utils (#6043) 2024-01-13 11:00:11 +00:00
Thomas Coratger
16a6e000bd resolve some missing doc and clippy (#6027) 2024-01-12 13:14:12 +00:00
rakita
ee199bb5db fmt: run nightly-2023-10-15 and remove semicolons (#6035) 2024-01-12 11:38:41 +00:00
Dan Cline
8686e97290 chore: make clippy happy (#6033) 2024-01-12 06:25:06 +00:00
Supernovahs.eth
6430731fff feat: Exclude private txs for pending block (#6015)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2024-01-11 08:12:32 +00:00
Supernovahs.eth
7cd659f406 feat: Support txpool.locals in txpool.cli (#5971)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2024-01-09 14:32:55 +00:00
Thomas Coratger
92f33b071c add missing documentation for various crates (#5950) 2024-01-05 13:10:37 +00:00
Thomas Coratger
9aa44093cf lints: move top-level lints to [workspace.lints] manifest table (#5935) 2024-01-04 13:38:02 +00:00
Thomas Coratger
962809e199 feat(tx-pool): refactor PoolInner implementation using get_pool_data util method (#5920) 2024-01-02 14:33:29 +00:00
Nil Medvedev
7fa4cddc72 feat: restore tx pool after reboot (#5665)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2024-01-02 14:11:41 +00:00
Thomas Coratger
4cd30bdc9b feat(tx-pool): add get_transactions_by_sender_and_nonce for TransactionPool trait (#5912) 2024-01-02 13:39:59 +00:00
Thomas Coratger
f16a22d979 feat: add nonce_after_all_transactions implementation for TxPool (#5904) 2023-12-31 11:53:06 +00:00
DaniPopes
b1b059fe9b chore: clean up lints (#5881) 2023-12-28 16:23:50 +00:00
DaniPopes
e341f47a16 fmt: add a space between inner doc-comments and following items (#5880) 2023-12-28 15:52:20 +00:00
Siyuan Han
9b12f4ff93 fix(txpool): missing condition that tx gas limit equal to block gas l… (#5858) 2023-12-26 12:22:07 +00:00
Matthias Seitz
bfe12ce885 chore: log full tx object in assert (#5797) 2023-12-16 17:32:59 +00:00
Thomas Coratger
9ae7ae2b3f feat: better usage of by_id methods in transaction pools (#5791) 2023-12-16 15:10:53 +00:00
Siyuan Han
570be24695 fix(txpool): correct the EIP2930 Error logger in TxValidator (#5792) 2023-12-16 04:30:49 +00:00
Thomas Coratger
ed7e6afa47 feat: add sequential_transactions_by_sender method for MockTransactionSet (#5741) 2023-12-15 20:23:49 +00:00
Bjerg
6af8e0f7ea chore: use new aquamarine macro (#5785) 2023-12-15 14:49:01 +00:00
rakita
11fd7a2844 chore: remove trailing semicolon (#5699) 2023-12-05 13:50:34 +00:00