Commit Graph

566 Commits

Author SHA1 Message Date
Dan Cline
9707cb2b8d chore: remove test structs that are never constructed (#7107) 2024-03-12 03:59:13 +00:00
int88
ef1a196c54 fix: ban trusted peer for a short period (#7071) 2024-03-11 17:35:30 +00:00
int88
6dbc5e0cee fix: remove redundant checking for if peer is banned (#7069)
Signed-off-by: int88 <golden-miner@qq.com>
2024-03-09 15:05:56 +00:00
rakita
d4ff65bfad bump: revm v7.1.0 (#7064) 2024-03-09 00:12:26 +00:00
Matthias Seitz
48b763f88a chore: bump max concurrent outbound dials (#7057) 2024-03-08 20:37:13 +00:00
Matthias Seitz
bf948d1719 chore: be less strict when slashing trusted peers (#7052) 2024-03-08 19:58:59 +00:00
DaniPopes
3c028e5ef4 chore: fix typos (#7049) 2024-03-08 14:23:37 +00:00
Abner Zheng
6f8d1a8137 Rename TxType variants to UpperCamelCase (#7012) 2024-03-06 17:36:58 +00:00
Emilia Hane
ed086497b7 Shorten error message on debug assertion (#6988) 2024-03-06 15:37:13 +00:00
DaniPopes
a1df972464 chore: remove most ethers mentions and code (#6999) 2024-03-06 14:38:15 +00:00
Matthias Seitz
c7826cb555 fix: immediately refill slots (#6997) 2024-03-06 14:33:32 +00:00
Emilia Hane
422b8f8e75 Prioritisation network manager + transactions manager + eth request handler (#6590)
Co-authored-by: DaniPopes <57450786+DaniPopes@users.noreply.github.com>
2024-03-06 13:43:21 +00:00
int88
23a72d3fce remove clique related tests (#6996)
Signed-off-by: int88 <golden-miner@qq.com>
2024-03-06 12:31:46 +00:00
back
ec401aa781 rm deposit from pooledtx (#6941)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2024-03-05 10:48:50 +00:00
Emilia Hane
ebe72f7ae8 Tx fetcher metrics (#6951) 2024-03-04 17:39:54 +00:00
abhi
0d3b77f3c1 restrict max concurrent outbound dials (#6860) 2024-03-04 17:34:28 +00:00
Emilia Hane
a792f160db Comment TransactionsManager (#6651) 2024-03-04 17:17:58 +00:00
int88
b75862010a fix(tx-fetcher): only remove peer from active_peers when inflight_count <= 0 (#6928)
Signed-off-by: int88 <golden-miner@qq.com>
2024-03-03 18:29:55 +00:00
Emilia Hane
d6bd0a67e3 Small tx response verification optimisation (#6911) 2024-03-03 17:35:00 +00:00
Emilia Hane
ba1061a043 Return fetch error on response that fails verification or validation (#6864) 2024-03-03 14:31:28 +00:00
Emilia Hane
ef7ce3601f Filter announcement txns pending import (#6932) 2024-03-02 18:51:30 +00:00
Emilia Hane
c82a84c77a Add test for tx response verification (#6926) 2024-03-02 11:50:34 +00:00
Emilia Hane
8ea032adad Remove accidentally merged fields (#6912) 2024-03-01 15:44:22 +00:00
int88
1d28fc606e bound hashes inflight and pending fetch size (#6877)
Signed-off-by: int88 <golden-miner@qq.com>
2024-03-01 01:58:42 +00:00
Dan Cline
771951429e fix: use HashSet for transactions_by_peers (#6893) 2024-02-29 20:44:32 +00:00
Delweng
9468527aad chore: remove unused dependencies to speed up building time (#6882)
Signed-off-by: jsvisa <delweng@gmail.com>
2024-02-29 15:10:20 +00:00
DaniPopes
b00e3f98be chore: remove cargo-udeps-related workflow and metadata (#6889) 2024-02-29 15:07:25 +00:00
Alexey Shekhirin
6b5b6f7a40 Breaking changes (#5191)
Co-authored-by: Bjerg <onbjerg@users.noreply.github.com>
Co-authored-by: Roman Krasiuk <rokrassyuk@gmail.com>
Co-authored-by: joshieDo <ranriver@protonmail.com>
Co-authored-by: joshieDo <93316087+joshieDo@users.noreply.github.com>
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
Co-authored-by: Oliver Nordbjerg <hi@notbjerg.me>
Co-authored-by: Thomas Coratger <thomas.coratger@gmail.com>
2024-02-29 12:37:28 +00:00
Emilia Hane
559124ac5a Performance metrics for NetworkManager future (#6746) 2024-02-29 02:55:09 +00:00
Delweng
859406666e chore(net): use smallvec only if debug_assertions configed (#6866)
Signed-off-by: jsvisa <delweng@gmail.com>
2024-02-29 02:54:04 +00:00
Emilia Hane
00ac218dbf Downgrade all logs in validation to trace (#6863) 2024-02-28 22:42:06 +00:00
Abner Zheng
329082d81b feat: Implement eth68 announcement metrics, track entries by TxType (#6786)
Co-authored-by: Emilia Hane <emiliaha95@gmail.com>
2024-02-28 17:53:45 +00:00
Dan Cline
27f1496daa chore: make clippy happy (#6837) 2024-02-28 05:32:03 +00:00
Emilia Hane
0007c9a4d2 Verify tx response data against request (#6439)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
Co-authored-by: Oliver Nordbjerg <onbjerg@users.noreply.github.com>
2024-02-27 17:09:27 +00:00
Emilia Hane
0c529220eb Fix units for tx manager poll metrics (#6817) 2024-02-27 13:18:11 +00:00
rakita
9a949e905b fix(ChainTree): set first block on forked chain (#6821) 2024-02-27 12:52:30 +00:00
Qiwei Yang
a27626cc22 feat: NetworkHandle get access to TransactionsHandle (#6780) 2024-02-27 10:31:54 +00:00
Emilia Hane
c268c71d44 Downgrade log level for remote client spec bug (#6815) 2024-02-27 00:58:13 +00:00
Matthias Seitz
facad24ad6 chore: downgrade backoff counter to u8 (#6799) 2024-02-26 18:15:40 +01:00
Abner Zheng
323bad2718 Replace async trait with ->impl Future (#6791) 2024-02-26 13:23:00 +00:00
int88
6930734a13 fix some typos (#6789) 2024-02-26 13:07:32 +01:00
Matthias Seitz
3669d9e046 docs: improve pool imports + pending transactions docs (#6781) 2024-02-24 18:37:40 +00:00
Emilia Hane
8abbe19392 doc(hidden) for TransactionsManager handle only used in tests (#6748)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2024-02-24 14:35:19 +00:00
DaniPopes
94cb6a8bcd chore: use Display instead of Debug for most errors (#6777) 2024-02-24 12:13:41 +00:00
Matthias Seitz
da3f469758 chore: rm duplicated remove_pending_session call (#6773) 2024-02-24 11:47:01 +00:00
DaniPopes
6890e02310 fmt: format tracing macro calls (#6776) 2024-02-24 10:58:01 +00:00
Abner Zheng
34402caeee Replace #[async_trait] with ->imp for traits in eth_wire (#6756) 2024-02-23 16:45:25 +00:00
Emilia Hane
9f91c6ad94 Meter tx manager poll duration (#6688)
Co-authored-by: Oliver Nordbjerg <onbjerg@users.noreply.github.com>
2024-02-22 23:19:51 +00:00
DaniPopes
9ca813aee2 chore: remove some unnecessary calls to unwrap/expect (#6727) 2024-02-22 16:36:08 +00:00
Emilia Hane
d7a2123181 Bug fix, filter out already imported transactions (#6723) 2024-02-22 11:37:03 +00:00