Commit Graph

930 Commits

Author SHA1 Message Date
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
back
5e2cac442f 0x/rm unused dep (#6899)
Co-authored-by: DaniPopes <57450786+DaniPopes@users.noreply.github.com>
2024-03-01 11:34:31 +00:00
Matthias Seitz
defe34f04f chore: unify decode enveloped fn args (#6904) 2024-03-01 11:32:15 +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
Dan Cline
7d36206dfe fix: handle both compressed and uncompressed disconnect reason decoding (#6862) 2024-02-29 15:31:11 +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
Matthias Seitz
19ff1fb35c chore: downgrade discv4 debug! to trace! (#6879) 2024-02-29 14:08:32 +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
Supernovahs.eth
3519270c69 remove proptest specific encoding logic (#6503)
Co-authored-by: Dan Cline <6798349+Rjected@users.noreply.github.com>
2024-02-28 21:45:51 +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
Matthias Seitz
0f26cd6df3 fix: get MAX_NODES_PER_BUCKET when respond closest (#6842) 2024-02-28 14:18:24 +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
Alexey Shekhirin
4fe0f27974 fix(ci): allow non_local_definitions on false positives (#6790) 2024-02-26 12:20:08 +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
12b3bae53d fmt: format some tests (#6774) 2024-02-24 11:16:40 +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
Abner Zheng
300336465c replace #[async_trait] with native async trait for trait Resolver (#6751) 2024-02-23 11:29:09 +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
Emilia Hane
f475adf243 Clean up tx manager (#6681) 2024-02-21 19:12:14 +00:00
Dan Cline
a554c1fbf8 chore: remove unused genesis_hash in NetworkState and NetworkManager (#6704) 2024-02-21 12:03:04 +00:00
Dan Cline
c8c422e278 chore: set test-fuzz to workspace dep, bump c-kzg (#6705) 2024-02-21 10:03:07 +00:00
Matthias Seitz
ca2c883cd6 fix: Duration serde execution stage (#6691) 2024-02-20 12:09:11 +00:00
Dan Cline
5fe367801f chore: cleanup ECIESError (#6687) 2024-02-20 07:24:37 +00:00