Commit Graph

81 Commits

Author SHA1 Message Date
Dan Cline
283b56c1b9 chore: move request hashes failed log to trace (#7524) 2024-04-09 16:06:45 +00:00
Emilia Hane
7cb05d5829 Convert panic to debug log (#7436)
Co-authored-by: Alexey Shekhirin <a.shekhirin@gmail.com>
2024-04-03 12:35:13 +00:00
Emilia Hane
f71d9c0003 feat(prune): timeout (#6958)
Co-authored-by: Alexey Shekhirin <a.shekhirin@gmail.com>
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2024-04-03 10:28:49 +00:00
Emilia Hane
e087e7ef80 Remove outdated debug assertion (#7417) 2024-04-01 21:47:58 +00:00
Emilia Hane
0c363ea010 fix(tx-mgr): report peers that send known bad transactions (#7400) 2024-03-31 12:53:51 +00:00
Emilia Hane
bfadc26b37 Add metrics for observing tx fetch outcome (#7401) 2024-03-30 21:17:54 +00:00
Emilia Hane
87c4ae744a Clean up log messages (#7390) 2024-03-30 02:47:38 +00:00
Justin Traglia
d9ce894fa3 feat: enable nursery lints without findings (#7334) 2024-03-26 12:53:51 +00:00
Matthias Seitz
a31202670b chore: apply some style suggestions (#7307) 2024-03-24 22:52:33 +00:00
Alexey Shekhirin
0da7b7c314 chore: fix typos (#7264) 2024-03-21 12:10:09 +00:00
Matthias Seitz
28b983403e chore: move op types; less op cfgs (#7255) 2024-03-20 18:17:23 +00:00
Justin Traglia
c108a2476c Enable clippy's equatable_if_let linter (#7221) 2024-03-19 14:32:43 +00:00
Justin Traglia
d91274eaa2 Enable clippy's redundant_clone linter (#7202)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2024-03-19 01:35:04 +00:00
Justin Traglia
b7ef60b899 Enable clippy's uninlined_format_args linter (#7204)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2024-03-18 23:29:19 +00:00
Emilia Hane
4e49aa9df6 Comment pool import error is not nonce gap (#7145)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2024-03-16 15:39:05 +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
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
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
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
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
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
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
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
Emilia Hane
cb61334b2c Clean up docs tx manager (#6682) 2024-02-20 02:21:39 +00:00
Emilia Hane
99d1d8dafc Fix broken test pack request (#6676) 2024-02-19 21:12:30 +00:00
Emilia Hane
2356dec1fb Downgrade log level in net::tx target (#6675) 2024-02-19 18:24:16 +00:00