Commit Graph

627 Commits

Author SHA1 Message Date
Matthias Seitz
547ee14771 chore: add trace for when nothing to propagate (#10226) 2024-08-09 13:43:18 +00:00
Matthias Seitz
66ddc5d8f4 chore: use exact max full peer count or round (#10228) 2024-08-09 13:08:48 +00:00
Skanda Bhat
e49f173f19 fix: only mark propagated txs as seen (#10234) 2024-08-09 13:06:27 +00:00
nk_ysg
c8a332fb85 feat: add metrics for dropped outgoing messages (#10225)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2024-08-09 13:00:42 +00:00
Oliver
0f6cd0af83 chore: remove some outdated todos (#10196) 2024-08-08 11:14:48 +00:00
Emilia Hane
33f612a41a chore(net): Move reth_network::NetworkEvents into reth-network-api (#10062) 2024-08-05 20:27:59 +00:00
Emilia Hane
d12f0ab815 Move PeersHandleProvider to new module reth_network_api::test_utils (#10060) 2024-08-05 08:46:49 +00:00
nk_ysg
b592607394 Move reth_eth_wire::ProtocolVersion and reth_eth_wire::Capabilities to reth-eth-wire-types (#10071)
Co-authored-by: Emilia Hane <emiliaha95@gmail.com>
2024-08-04 16:22:14 +00:00
Emilia Hane
f3e79df300 chore(net): move reth_network::BlockDownloaderProvider to reth-network-api (#10003) 2024-08-03 13:42:44 +00:00
Dan Cline
a6733cafa3 feat: add more granular tx propagation logs (#10026) 2024-08-02 16:14:35 +00:00
Thomas Coratger
054f8ffbb3 tx-pool: rm constraint for PoolTransaction (#10024) 2024-08-02 15:45:07 +00:00
Emilia Hane
b10517b3bf chore(net): extract NetworkHandle methods for launching node to traits (#9966) 2024-08-01 16:44:23 +00:00
Thomas Coratger
f25367cffd tx-pool: Make txpool independent of primitive tx types (#9916) 2024-08-01 13:39:58 +00:00
Emilia Hane
78703b5729 Move reputation types from reth-network-api to reth-network-types (#9914)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2024-07-31 20:08:38 +00:00
Luca Provini
fcbdbf361b feat: support DNS in reth.toml for trusted_nodes (#9864) 2024-07-31 12:20:19 +00:00
Matthias Seitz
2bd99faee3 perf: use try_join_all when resolving bootnodes (#9886) 2024-07-29 23:40:47 +00:00
Matthias Seitz
eb2d0a22d9 fix: also set configured bootnodes for discv5 (#9885) 2024-07-29 23:40:24 +00:00
nk_ysg
7df42454c0 chore: fix clippy errors (#9845)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2024-07-27 05:33:29 +00:00
Matthias Seitz
e1ddb5f69c feat: update sync state based on chain event (#9695) 2024-07-22 09:52:31 +00:00
Tuan Tran
e6f2dca445 chore(net): enable rust.unnameable-types = "warn" lint (#9505) 2024-07-16 17:40:10 +00:00
Luca Provini
a617bd0f3b replaced generic to box dyn (#9443) 2024-07-12 14:15:23 +00:00
Delweng
d943e78294 feat(net/peer): simple support rank higher with static peer (#9471)
Signed-off-by: jsvisa <delweng@gmail.com>
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2024-07-12 11:20:34 +00:00
Oliver
fc4c037e60 feat: eip-7702 (#9214)
Co-authored-by: Matthew Smith <m@lattejed.com>
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
Co-authored-by: joshieDo <93316087+joshieDo@users.noreply.github.com>
Co-authored-by: Dan Cline <6798349+Rjected@users.noreply.github.com>
2024-07-11 05:45:47 +00:00
nk_ysg
d0f78bdb39 feat: add fs-util for reading, writing json files (#9418) 2024-07-10 14:40:50 +00:00
Qiwei Yang
0ce192921f move header.rs to eth-wire-types (#9345) 2024-07-06 10:29:02 +00:00
Matthias Seitz
aa13539a3a chore: simplify p2p subcommand (#9265) 2024-07-03 14:16:27 +00:00
Querty
c5167a4784 refactor: move write_peers_to_file to NetworkManager impl (#9134)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2024-07-03 14:05:44 +00:00
Matthias Seitz
d41aac380b feat: add non feature gated noop block reader (#9261) 2024-07-03 13:33:43 +00:00
Delweng
52068ccee6 fix(rpc/admin): missing enode/enr in admin_peers endpoint (#9043)
Signed-off-by: jsvisa <delweng@gmail.com>
2024-07-01 17:26:22 +00:00
Matthias Seitz
d317b4a0fb chore: add builder with rng secret key fn (#9218) 2024-07-01 13:07:49 +00:00
Delweng
d4fa9defbd feat(net/peer): set rpc added peer as static (#9201)
Signed-off-by: jsvisa <delweng@gmail.com>
2024-07-01 10:23:28 +00:00
Thomas Coratger
84e385753e refactor(net): some refactor in eth requests (#9205) 2024-07-01 09:39:48 +00:00
Delweng
b93e70c429 feat(net/peer): add peer with udp socket (#9156)
Signed-off-by: jsvisa <delweng@gmail.com>
2024-06-29 09:02:09 +00:00
Delweng
9a2cfe5a5c fix(net/peer): remove the duplicated disconnect logic (#9162)
Signed-off-by: jsvisa <delweng@gmail.com>
2024-06-28 15:15:40 +00:00
Thomas Coratger
530e7e8961 refactor(net): move node record constants to network-peers crate (#9161) 2024-06-28 09:45:23 +02:00
joshieDo
50ee497c75 feat: use new ChainHardforks type on ChainSpec (#9065) 2024-06-27 17:39:35 +00:00
Arsenii Kulikov
5aaf91dbcb refactor: clean-up discv5 configuration (#9143) 2024-06-27 15:25:24 +00:00
Arsenii Kulikov
18eef6a991 refactor: extract configuration types to reth-network-types (#9136) 2024-06-27 09:33:13 +00:00
Federico Gimenez
a3a472a784 fix: do not drop sub protocol messages during EthStream Handshake (#9086) 2024-06-25 15:22:35 +00:00
Matthias Seitz
a34e41c275 chore(deps): rm reth-rpc-types dep from reth-network (#9023) 2024-06-21 21:47:03 +00:00
Matthias Seitz
17c5121b50 chore(deps): replace fnv with fx (#9024) 2024-06-21 21:30:06 +00:00
Matthias Seitz
08cc16e4f3 chore: rm serde for network builder (#9020) 2024-06-21 16:43:58 +00:00
joshieDo
2473ed880b chore: remove serde from ChainSpec (#9017) 2024-06-21 15:29:37 +00:00
Matthias Seitz
b9b61b377a chore: rename net-common to banlist (#9016) 2024-06-21 14:05:38 +00:00
joshieDo
2a5c93fab3 chore: use reth_chainspec where possible (#8891) 2024-06-17 16:09:09 +00:00
Matthias Seitz
22e6afe3f1 fix(net): use real tcp port for local node record (#8853) 2024-06-14 21:38:19 +00:00
joshieDo
fc770423b3 fix(ci): add missing const fn (#8822) 2024-06-14 10:07:39 +00:00
Matthias Seitz
be12177a2f chore: rm HasRemoteAddr trait (#8809) 2024-06-13 20:46:30 +00:00
Krishang
c7fd507681 feat: remove Bandwidthmeter type (#8698)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2024-06-09 13:40:25 +00:00
Matthias Seitz
2852893a7d chore: rename network-types to network-peers (#8699) 2024-06-09 13:13:46 +00:00