Alex Sharov
5304781ebe
Update README.md ( #3985 )
2022-04-27 11:46:08 +07:00
Alex Sharov
72f3fbfa56
Update README.md ( #3984 )
2022-04-27 11:45:13 +07:00
Andrew Ashikhmin
4d2db4467e
FullSync instead of FastSync ( #3980 )
2022-04-26 17:19:24 +02:00
battlmonstr
13d66198bc
p2p/discover/v4wire: use optional RLP field for EIP-868 seq ( #3963 )
...
This changes the definitions of Ping and Pong, adding an optional field
for the sequence number. This field was previously encoded/decoded using
the "tail" struct tag, but using "optional" is much nicer.
see https://github.com/ethereum/go-ethereum/pull/22842
Co-authored-by: Felix Lange <fjl@twurst.com>
2022-04-26 15:37:00 +01:00
ledgerwatch
b5a2a62c05
Potential fix for verification ( #3962 )
...
* Potential fix for verification
* multi verify
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
2022-04-26 15:36:48 +01:00
Andrew Ashikhmin
3e1d4fab10
Forgot to check err status ( #3978 )
...
* Forgot to check err status
* Invalid header shouldn't fail the entire stage
2022-04-26 15:17:54 +02:00
battlmonstr
04f3e9004c
rlp: add support for optional struct fields ( #22832 ) ( #3977 )
...
This adds support for a new struct tag "optional". Using this tag, structs used
for RLP encoding/decoding can be extended in a backwards-compatible way,
by adding new fields at the end.
see geth commit 700df1442d
Co-authored-by: Felix Lange <fjl@twurst.com>
2022-04-26 18:24:23 +07:00
Alex Sharov
61515ed21e
Bsc: enable syncmode=snap by default #3973
2022-04-26 13:06:18 +07:00
Alex Sharov
e04f7fc9f8
Integration: allow headers --reset ( #3972 )
2022-04-26 12:54:05 +07:00
Alex Sharov
3906d7e51f
Snapshots: allow stage_headers --unwind behind available snapshots ( #3971 )
...
* save
* save
* save
2022-04-26 12:04:38 +07:00
Alex Sharov
dba9544edc
Delete blocks in [from, to) range ( #3970 )
2022-04-26 11:15:45 +07:00
Alex Sharov
6865f2543d
Snapshots: open bittorrent udp port in docker ( #3969 )
...
* Snapshots: open torrent udp in docker-compose.yml
* Snapshots: open torrent udp in docker-compose.yml
2022-04-26 10:52:46 +07:00
ledgerwatch
9c2ea3d41b
Update stage_headers.go ( #3966 )
2022-04-26 08:26:44 +07:00
ledgerwatch
538543ad17
Experiment files 1 by 1 ( #3959 )
...
* Experiment files 1 by 1
* Remove check
* sort preverified snapshots
* docs: docker permissions
* sort preverified snapshots
* sort preverified snapshots
* sort preverified snapshots
* sort preverified snapshots
* sort preverified snapshots
* sort preverified snapshots
* save
* Fix speed log, remove file name
* Move timer out of the loop
* Calculate total size of downloaded files
* Fixes
* Fix
* Fix
* Fix
* Move downloadData
* Fix
* Revert "Fix"
This reverts commit 038e02b8a4d23cd32ddb111e9f325fc4ce1bbe2b.
* Revert "Move downloadData"
This reverts commit 8130a4d9bdc0705082eb7fe94e2261c9313f8482.
* Revert "Fix"
This reverts commit 1dca25bd68772bc42ac710c24698c8670f9f6b86.
* Revert "Fix"
This reverts commit ee5a1e82abd47bef4f9d8f0f68b8497476d29c0b.
* Revert "Fix"
This reverts commit 8af7be71d4685e0d6115fef91ed2f304695e1df9.
* Revert "Fixes"
This reverts commit 50509af81f3721cca957cd15d0286e8f30e5097b.
* Revert "Calculate total size of downloaded files"
This reverts commit 64a26df54f6226d739c8a5b57b32ad5af07d3061.
* Remove progress
* Remove progress
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
Co-authored-by: alex.sharov <AskAlexSharov@gmail.com>
2022-04-25 19:32:27 +01:00
battlmonstr
07367c2312
sentry: refactor flags, add maxpeers. ( #3961 )
2022-04-25 21:47:25 +07:00
battlmonstr
fc3eecae5e
RPC: admin.peers() ( #3960 )
...
* RPC: admin.peers()
This RPC method returns information about the connected remote nodes.
https://geth.ethereum.org/docs/rpc/ns-admin#admin_peers
The peers are collected from all configured sentries.
See: https://github.com/ledgerwatch/interfaces/pull/102
Test with:
curl -X POST -H "Content-Type: application/json" --data '{"jsonrpc": "2.0", "method": "admin_peers", "params": [], "id":1}' localhost:8545
* save
* liner fix
Co-authored-by: alex.sharov <AskAlexSharov@gmail.com>
2022-04-25 14:40:04 +01:00
Enrique Jose Avila Asapche
e2fec2a081
got rid of the automatic usage of net api ( #3952 )
...
* got rid of the automatic usage of net api
* less confusing comment
* ops
* ops2
* important
* ops
2022-04-25 19:57:54 +07:00
Alex Sharov
230a21cfff
Snapshots: rare nil pointer at fresh start ( #3958 )
2022-04-25 13:40:15 +07:00
Alex Sharov
b4774a831e
Snapshots: support empty buf case ( #3957 )
2022-04-25 10:24:37 +07:00
Alex Sharov
8116fb1389
bsc: disable snap sync ( #3956 )
2022-04-25 09:59:58 +07:00
Alex Sharov
874cd5dca0
bsc: disable snap sync ( #3955 )
2022-04-25 08:52:25 +07:00
Giulio rebuffo
8742141792
fixed ethstats ( #3951 )
2022-04-24 15:17:33 +07:00
Giulio rebuffo
5e1900cc48
cleaned up forkchoices db insertions #3949
2022-04-24 08:13:49 +07:00
battlmonstr
3ad25c929c
Sentry GRPC: rename Peers to PeerEvents ( #3944 )
...
* Sentry GRPC: rename Peers to PeerEvents
see https://github.com/ledgerwatch/interfaces/pull/101
* Update to erigon-lib main
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2022-04-23 17:52:22 +01:00
Håvard Anda Estensen
6844e74ad2
Replace ioutil with io and os ( #3946 )
2022-04-23 15:43:00 +01:00
ledgerwatch
961f4f5888
Introduce unlimited download rate ( #3945 )
...
* Introduce unlimited download rate
* More generous burst
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2022-04-22 17:59:49 +01:00
ledgerwatch
984eee6dd2
[erigon2] Fuzz tests for commitment ( #3939 )
...
* [erigon2] Fuzz tests for commitment
* Cleanup
* Update to erigon-lib main
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2022-04-22 14:35:43 +01:00
Alex Sharov
62c377521b
Torrent conns print ( #3943 )
...
* save
* save
2022-04-22 18:24:21 +07:00
battlmonstr
92db317e06
Observer - P2P network crawler ( #3928 )
...
Observer crawls the Ethereum network and collects information about the nodes.
2022-04-22 12:02:12 +01:00
Alex Sharov
0d6775fd95
torrent: print peers amount in logs ( #3942 )
2022-04-22 17:37:35 +07:00
Alex Sharov
7a226ef94c
Downloader: re-use flags defaults ( #3941 )
2022-04-22 17:30:48 +07:00
Krishna Upadhyaya
4a8eb34d1e
Use heimdall url in integration bor consensus ( #3940 )
2022-04-22 15:41:49 +07:00
ledgerwatch
1bcd73de46
Update ci.yml ( #3936 )
2022-04-22 14:23:29 +07:00
Krishna Upadhyaya
ab29bfc7d5
Update bor mumbai config ( #3937 )
2022-04-22 14:23:05 +07:00
Giulio rebuffo
c5b1836481
Added Ethstats service ( #3931 )
...
* somewhat there but not yet
* lol
* more efficient ethstats
* lint
* not die on no wifi
2022-04-22 07:23:52 +01:00
alex.sharov
3d357919ca
save
2022-04-22 11:07:54 +07:00
Alex Sharov
65be763354
min requirement to go 1.18 ( #3934 )
...
* save
* save
2022-04-22 10:56:44 +07:00
Chase Wright
dc5125eec5
Fix some cli flag descriptions ( #3933 )
...
* Fix some cli flag descriptions
* add node about verbosity
2022-04-22 09:26:59 +07:00
battlmonstr
a8f20f01c4
Makefile: refactor build flags and fix 1.17 ( #3930 )
2022-04-22 07:15:23 +07:00
battlmonstr
cedb4865c3
docs: update libmdbx links ( #3929 )
2022-04-21 17:32:25 +01:00
ledgerwatch
5058e45e6b
Change version to alpha ( #3926 )
...
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
2022-04-21 16:59:26 +01:00
ledgerwatch
3ec9d270a2
Update flags.go ( #3927 )
2022-04-21 16:18:49 +01:00
Alexey Sharp
49a8a72fcd
Update erigon-lib to alpha branch
2022-04-21 14:32:03 +01:00
Alex Sharov
58c86d550d
Snapshots: Max index parallelism to 4 ( #3925 )
...
* save
* save
* Readme update: built-in rpc daemon and syncmode=snap
* save
* save
* save
2022-04-21 17:49:42 +07:00
Alex Sharov
667125bc65
go_1.18 on CI and in Docker ( #3843 )
2022-04-21 14:51:30 +07:00
Alex Sharov
1d1282f3c0
Update readme.md
2022-04-21 14:42:07 +07:00
alex.sharov
48973f8d61
Readme update: built-in rpc daemon and syncmode=snap
2022-04-21 14:36:39 +07:00
alex.sharov
3fc0bf6147
Readme update: built-in rpc daemon and syncmode=snap
2022-04-21 14:36:02 +07:00
alex.sharov
c9eb5a12ed
Readme update: built-in rpc daemon and syncmode=snap
2022-04-21 14:35:30 +07:00
Alex Sharov
d44e1cbe43
Readme update: built-in rpc daemon and syncmode=snap ( #3924 )
...
* save
* save
2022-04-21 14:34:08 +07:00