Matthias Seitz
6c37b0aa1b
feat: add task header downloader ( #958 )
2023-01-25 12:32:28 +01:00
Roman Krasiuk
c5cd64bb0e
chore(download): cleanup bodies downloader errors ( #1026 )
2023-01-25 02:05:24 -08:00
Roman Krasiuk
93194e8a0c
metrics(download): move header stage metrics to downloader ( #1014 )
2023-01-25 01:02:38 -08:00
Matthias Seitz
167aa60ed2
chore(deps): rm unused deps in downloaders ( #1004 )
2023-01-24 12:14:50 +01:00
Roman Krasiuk
d601895940
feat(download): bodies downloader stream ( #905 )
...
Co-authored-by: Georgios Konstantopoulos <me@gakonst.com >
2023-01-23 10:48:03 -08:00
Bjerg
c5440cc775
chore: re-add confy ( #989 )
2023-01-23 16:54:57 +01:00
Bjerg
800c4e0e7b
chore: rm unused dep ( #988 )
2023-01-23 10:13:55 -05:00
Ikechukwu Ahiara Marvellous
a331b54bb0
Create Network variant in reth_interfaces::Error ( #950 )
2023-01-22 20:59:50 +01:00
Georgios Konstantopoulos
acac82fcb3
refactor: introduce reth-staged-sync crate ( #962 )
2023-01-21 15:34:49 -08:00
rakita
e3271dafbe
bug(stages): ExecutionStage incremented TranstionId to often ( #952 )
2023-01-21 11:31:14 +01:00
Matthias Seitz
b4080a7de5
feat: concurrent headers downloader ( #891 )
2023-01-20 12:06:06 +01:00
Enrique Ortiz
cfef666886
Network: Extend NetworkInfo trait with NetworkStatus ( #923 )
2023-01-19 14:43:51 -05:00
Matthias Seitz
2a77e08080
test: add stage name to test suite functions ( #934 )
2023-01-19 15:24:35 +01:00
clabby
a8b7a089b6
feat(bin): Format db list & db status subcommands ( #667 )
...
Co-authored-by: Georgios Konstantopoulos <me@gakonst.com >
2023-01-18 09:59:09 -08:00
Matthias Seitz
f462f75535
chore(deps): rm unused deps ( #915 )
2023-01-18 09:45:59 -08:00
Aurélien
115e623ae6
Ability to (de)serialize NetworkConfigBuilder ( #897 )
2023-01-18 11:17:43 +01:00
Ikechukwu Ahiara Marvellous
37ca7e0b33
feat: add --nat flag to reth node ( #888 )
...
Co-authored-by: Georgios Konstantopoulos <me@gakonst.com >
2023-01-17 17:53:15 -08:00
Andrew Kirillov
5d45325e43
feat(net): Metered senders ( #726 )
...
Co-authored-by: Bjerg <onbjerg@users.noreply.github.com >
2023-01-17 17:41:05 -08:00
Aurélien
f9de425ad8
refactor: unify all chains confs ( #747 )
...
Co-authored-by: Bjerg <onbjerg@users.noreply.github.com >
2023-01-17 07:47:34 -08:00
Dan Cline
55d1db0c1d
feat(network): move test helpers to test-utils mod ( #901 )
2023-01-17 11:18:53 +01:00
joshieDo
d50d9bd0fe
chore(net): Add proptest roundtrip to rlp types ( #829 )
2023-01-16 09:50:58 -08:00
Matthias Seitz
27ed772d31
feat(rpc): integrate network traits in rpc builder ( #890 )
2023-01-16 14:52:52 +01:00
Loren Siebert
4c67cf2fb6
Added bench for recovering a transaction's signature ( #886 )
2023-01-13 16:35:45 -08:00
Enrique Ortiz
0603f07c6c
feat(net): add way to get the NodeRecord of the local node ( #875 )
...
Co-authored-by: Enrique Ortiz <evalir@users.noreply.github.com >
2023-01-13 15:57:29 +01:00
Bjerg
02632cd888
feat: show possible values for reth stage ( #872 )
2023-01-13 06:01:59 -08:00
Matthias Seitz
3f9e7a080a
feat(net): introduce PeersInfo trait ( #860 )
2023-01-13 12:04:39 +01:00
Matthias Seitz
6b86b40539
chore(deps): bump ethers ( #861 )
2023-01-13 11:57:14 +01:00
Matthias Seitz
7767b216bc
feat: integrate DNS discovery service ( #832 )
2023-01-13 10:34:13 +01:00
Matthias Seitz
ba3048ceb0
refactor: add network-api crate ( #838 )
2023-01-12 19:39:44 -08:00
Matthias Seitz
429cd69ed4
feat(nat): add None Natresolver ( #834 )
2023-01-12 07:56:43 -08:00
Matthias Seitz
09c5a04c7b
feat(disc): add DnsDiscovery service ( #794 )
2023-01-12 12:49:02 +01:00
Matthias Seitz
23984e3db7
chore(deps): rm unused tracing-futures ( #830 )
2023-01-12 12:22:27 +01:00
Bjerg
20ee1bb1c9
refactor: move cli trace helpers to reth-tracing ( #820 )
2023-01-11 10:20:37 -08:00
Bjerg
2e95ed4b6e
fix: make config serialize as toml ( #811 )
2023-01-11 13:36:41 +01:00
Bjerg
2e87017686
feat(cli): more reasonable log output ( #784 )
2023-01-11 11:53:33 +01:00
joshieDo
aabbe4923b
chore(codecs): add proptest roundtrip to all main_codec ( #803 )
2023-01-10 22:06:01 -08:00
Matthias Seitz
55bc2591e6
fix(net): handle outgoing connection error correctly ( #798 )
2023-01-10 21:30:17 +01:00
rakita
e5e74cbc02
fix(execution): Increase cache scope, and apply block reward to cache ( #793 )
...
* bug: Apply block reward to evm cache
* Move cache to all blocks
* add tests
* Update crates/executor/src/executor.rs
Co-authored-by: Roman Krasiuk <rokrassyuk@gmail.com >
Co-authored-by: Roman Krasiuk <rokrassyuk@gmail.com >
2023-01-10 08:05:50 -08:00
David Kulman
515590faa8
refactor: move cli utils to new reth-cli-utils crate ( #790 )
...
* Move bin/src/util to reth-cli-utils
* Add reth-cli-utils to workspace members
* Fix imports in bin/src
* Create reth-cli-utils crate
* Add utils import
2023-01-10 01:13:41 +01:00
Matthias Seitz
2b3dfe93a7
feat(dns): add dns discovery service ( #768 )
...
* feat(dns): add dns discovery service
* feat: add entry types
* add codec impls
* resolve basics
* Update crates/net/dns/src/tree.rs
Co-authored-by: Bjerg <onbjerg@users.noreply.github.com >
Co-authored-by: Bjerg <onbjerg@users.noreply.github.com >
2023-01-09 18:09:09 +01:00
Matthias Seitz
d522abb749
chore(deps): bump tokio 1.24 ( #778 )
2023-01-09 17:52:08 +01:00
Sanket Shanbhag
d98f9fe507
move HasRemoteAddr trait to reth-net-common ( #775 )
2023-01-09 10:43:46 +02:00
Matthias Seitz
acb0753812
chore(deps): remove unused ether-core ( #760 )
2023-01-07 12:12:48 +02:00
Andrew Kirillov
2da828478c
feat(net): Bandwidth monitoring ( #707 )
...
* WIP for draft PR
* added basic test
* using BandwidthMeterInner type & added TcpStream test
* formatted
* formatted w/ +nightly
* using & for and
* formatted
* added default impl for BandwidthMeter
* using _bandwidth_meter bc unused
* removed redundant clone
* addressed nits, renamed file
* addressed nits, renamed file
2023-01-06 21:43:13 +01:00
Sanket Shanbhag
1b5bc5e1f7
Rotate peers when fetching ( #743 )
2023-01-06 12:21:42 +01:00
joshieDo
258431aac8
primitives: add own Bloom type with arbitrary ( #746 )
...
* add own Bloom type with arbitrary
* use impl_hash_compact instead
* add doc to exported macro
* remove unused crate and code
* fix rlp encode length for Bloom
* use RlpDecodableWrapper and RlpEncodableWrapper instead
2023-01-06 13:10:19 +02:00
Matthias Seitz
6cf5427af3
style(discv4): use event buffer ( #737 )
2023-01-05 17:50:09 +01:00
Sanket Shanbhag
e4bd5b4fe9
feat(net): add NetworkMetrics ( #708 )
...
* Added NetworkMetrics
* update docs
* add more metrics and make naming consistent
* add active inbound and outbound connection metrics
2023-01-05 10:17:57 +01:00
Georgios Konstantopoulos
759ba39311
feat: Stage tool ( #716 )
...
* feat: `reth stage` command
* refactor(bin): move init utils to separate file
* feat(bin): scaffold stage command for one stage
* fix: correctly set from/to for stage range
* fix(stage-tool): add unwind before execute to re-exec
otherwise we're double executing stuff
* fix(stage-tool): use max commit threshold avail
* chore: rm unused vars
* fix(genesis-init): take a write tx only if needed
this avoids blocking by accident if we took a write tx expecting
that init_genesis would immediately return the hash
* feat(stage-tool): add bodies stage
Co-authored-by: Oliver Nordbjerg <hi@notbjerg.me >
2023-01-04 21:53:27 +02:00
Roman Krasiuk
973ea48e03
feat(cli): p2p header & body download ( #698 )
...
* p2p cli scaffolding
* refactor to fetch client
* body & header download
* p2p trusted opts
* add retries
* notify on retry
* clippy
* display err
2023-01-04 21:33:08 +02:00