Commit Graph

301 Commits

Author SHA1 Message Date
ArtificialPB
0599d4bd2f feat(net): add function to set NetworkMode in builder (#2771) 2023-05-21 14:10:03 +02:00
Bjerg
238eea37cf feat: add node identity to networking stack (#2758) 2023-05-20 09:24:31 +02:00
Matthias Seitz
9032052678 test: ensure port is unused for udp and tcp (#2731) 2023-05-18 13:57:59 -04:00
Matthias Seitz
ebdfa2522a test: fix another event race condition (#2730) 2023-05-18 15:39:26 +02:00
Matthias Seitz
170a606f77 test: fix event race condition (#2729) 2023-05-18 15:14:27 +02:00
Dan Cline
a40b79e193 fix: set sync state at startup to idle (#2722) 2023-05-17 22:32:56 +02:00
Roman Krasiuk
9b79218c18 fix(p2p): network sync state (#2699) 2023-05-16 22:24:40 +02:00
Georgios Konstantopoulos
ae2b0954c6 perf: do not compile traces in release mode (#2652) 2023-05-15 17:06:10 -07:00
chirag-bgh
599a5757d1 feat: add a few EthRequestHandler metrics (#2666)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2023-05-15 11:23:44 +02:00
Matthias Seitz
a5dbbe4187 fix: don't starve high priority requests (#2660) 2023-05-13 13:18:24 -04:00
Matthias Seitz
10b97b29af chore: downgrade error and warn traces to debug (#2541) 2023-05-03 15:53:05 +02:00
Roman Krasiuk
7f764028d2 feat(cli): consensus engine events (#2473) 2023-05-01 17:46:03 +02:00
Matthias Seitz
36004c6761 feat: add new already seen transactions reputation variant (#2468) 2023-05-01 17:32:34 +02:00
Matthias Seitz
0702a5e6fb feat: add metrics for already seen txs and hashes (#2467) 2023-05-01 10:25:54 +02:00
Matthias Seitz
d146bb86f6 chore(clippy): make clippy happy (#2475) 2023-04-30 11:40:43 +02:00
Matthias Seitz
433ecdcaec chore: track client version in tx peer (#2452) 2023-04-28 11:53:42 -07:00
Matthias Seitz
a40f3d775c chore(deps): bump enr + secp256k1 (#2443) 2023-04-28 11:05:00 -07:00
mempirate
93d3bd9dcd feat(net): fix peer backoffs to not interfere with reputation (#2422) 2023-04-27 15:53:12 +02:00
Dan Cline
8835443c35 feat: include SessionsConfig in reth.toml (#2416)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2023-04-26 10:58:17 -04:00
mempirate
bf7960c87a fix(peers): rank dial candidates by reputation only (#2407) 2023-04-26 14:08:20 +02:00
Matthias Seitz
c132c6681a fix(net): syncing should be true at startup (#2395) 2023-04-25 17:09:37 +02:00
Matthias Seitz
addd8d473c chore: improve incoming connection traces (#2393) 2023-04-25 16:51:41 +02:00
mempirate
21ebfee461 feat(p2p): add reputation management features (#2389) 2023-04-25 14:18:53 +02:00
mempirate
c6e7ea513f feat(net): add client_version to session established events (#2379) 2023-04-25 10:45:02 +02:00
mempirate
667af585e7 feat(net): add remote_addr to session established event (#2373) 2023-04-24 13:16:47 -04:00
joshieDo
9452b3658b feat(db): Don't store TxHash when writing to the table (#2279) 2023-04-21 11:15:52 +02:00
Matthias Seitz
d300057864 chore(net): track all bad reported messages (#2321) 2023-04-20 16:47:51 -04:00
Matthias Seitz
347e3e8813 chore: rm outdated TODOs (#2322) 2023-04-20 16:44:39 -04:00
Matthias Seitz
ba81368f91 chore: simplify re-export (#2299) 2023-04-18 17:24:50 +02:00
Aditya Pandey
6f15f844a5 Removing reth network api dependency from rpc types (#2281)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2023-04-17 14:03:06 +02:00
Matthias Seitz
ca70d7337c feat(net): add reported bad transactions metric (#2270) 2023-04-16 16:49:54 -04:00
Matthias Seitz
581e9ffcc4 fix: poll_tick does not register waker if ready (#2276) 2023-04-16 16:45:57 -04:00
Matthias Seitz
adad6d31b4 Revert "Revert "chore: enable tx inserts via p2p" (#2252)" (#2259) 2023-04-15 01:31:16 +02:00
Matthias Seitz
154ece7665 fix: simplify SyncState and fix wrong update (#2256) 2023-04-15 01:31:09 +02:00
Georgios Konstantopoulos
c67c944a1f Revert "chore: enable tx inserts via p2p" (#2252) 2023-04-14 18:18:13 -04:00
Matthias Seitz
3779a225fb fix: remove peers after incoming connection closed (#2245) 2023-04-14 11:42:49 -04:00
Matthias Seitz
d99befe818 chore: enable tx inserts via p2p (#2214) 2023-04-12 12:11:33 -04:00
Matthias Seitz
76c9a547b7 chore: unify disable discovery builder functions (#2164) 2023-04-09 11:11:19 -07:00
Aditya Pandey
b2c3074260 Network integrations tests with txpool task (#2148)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2023-04-09 13:31:14 +02:00
Matthias Seitz
13f59ea438 chore(deps): bump tokio (#2162) 2023-04-08 18:42:42 -04:00
Matthias Seitz
0b44cca785 fix(net): enforce max transaction packet size (#2109) 2023-04-04 20:44:17 +02:00
Matthias Seitz
c0a17d655b feat(net): reward connected peers over time (#2102) 2023-04-04 14:26:58 +02:00
jawilk
643ee5226c chore(net): improve network service launch error diagnostic (#2068) 2023-04-01 08:20:27 +02:00
Matthias Seitz
41b1b3c769 perf(net): cap backoff duration and only apply to severe backoff kinds (#2022) 2023-03-29 18:14:43 -04:00
Matthias Seitz
47b9738ede chore: fix some typos (#2025) 2023-03-29 14:49:50 +02:00
Matthias Seitz
de27546cf9 fix: disable penalization until we got it right (#2016) 2023-03-28 19:49:44 +02:00
Matthias Seitz
b55b2d6182 fix(txpool): differentiate pool error variants (#2008) 2023-03-28 18:28:24 +02:00
Matthias Seitz
96b48e9c2f chore: rm false positive clippy (#1912) 2023-03-27 13:52:23 +02:00
Dan Cline
ee226fc889 feat: use dnsdisc peers for discv4 bootstrap (#1983) 2023-03-26 12:42:08 +02:00
chirag-bgh
ea4b4f77e9 feat: add pooled_transaction_max (#1971) 2023-03-24 19:09:02 +01:00