Alex Sharov
3906d7e51f
Snapshots: allow stage_headers --unwind behind available snapshots ( #3971 )
...
* save
* save
* save
2022-04-26 12:04:38 +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
8116fb1389
bsc: disable snap sync ( #3956 )
2022-04-25 09:59:58 +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
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
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
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
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
Alex Sharov
1d1282f3c0
Update readme.md
2022-04-21 14:42:07 +07:00
Alex Sharov
9051d95836
Downloader tables, mdbx-based torrent pieces completion store ( #3923 )
...
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
2022-04-21 10:34:31 +07:00
Alex Sharov
6aa4999729
Parallel indexing ( #3921 )
2022-04-21 10:34:10 +07:00
Alex Sharov
89c3049244
limit amount of sentries in broadcasts ( #3920 )
...
* save
* save
2022-04-20 22:00:58 +07:00
Alex Sharov
8d81c3b0f8
Rwdir fix2 ( #3915 )
2022-04-19 08:55:46 +07:00
ledgerwatch
7080c6fab9
Fix help and README.md about pruning options ( #3914 )
...
* Update README.md
* Update flags.go
* Update README.md
2022-04-18 21:50:21 +01:00
Alex Sharov
9305efeaa7
Snapshots: use kv.ReadAhead helper ( #3909 )
2022-04-18 10:48:09 +07:00
Alex Sharov
0a5ce152a4
save ( #3902 )
2022-04-17 09:22:00 +01:00
Alex Sharov
f2a9763a6d
integration: senders check that snapshots are not nil #3905
2022-04-17 09:52:05 +07:00
Alex Sharov
9d2455318a
do panic - to exit with correct code #3886
2022-04-15 08:30:24 +07:00
Andrew Ashikhmin
7b8d828aa1
RPC: return latest available block rather than forkchoice head ( #3888 )
2022-04-14 18:05:59 +02:00
ledgerwatch
156da607e7
More compact representation of huffman trees in the seg files ( #3875 )
...
* More compact representation of huffman trees in the seg files
* Update to latest erigon-lib
* recompress
* recompress
* recompress
* uncompress: buf fix
* Update to latest erigon-lib
* Revert default sync mode
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
Co-authored-by: alex.sharov <AskAlexSharov@gmail.com>
2022-04-13 16:29:44 +01:00
Alex Sharov
652825b629
recompress ( #3880 )
2022-04-13 13:00:05 +01:00
alex.sharov
1501b47a45
recompress
2022-04-12 22:22:13 +07:00
alex.sharov
bba0c686e9
recompress
2022-04-12 15:03:44 +07:00
alex.sharov
0b63264531
recompress
2022-04-12 15:01:25 +07:00
alex.sharov
35674e81c0
recompress
2022-04-12 14:51:45 +07:00
Alex Sharov
ff44db147e
Torrent: Increase peers amount to improve Swarm-ing, can do it now because have ratelimiter #3877
2022-04-12 09:09:09 +07:00
Alex Sharov
4be4e5b99a
Torrent: enable rate limiter ( #3872 )
...
* save
* save
* save
* save
2022-04-11 18:45:28 +07:00
Alex Sharov
b329d675ec
Torrent best trackers ( #3870 )
...
* best trackers
* save
2022-04-11 14:01:12 +07:00
Alex Sharov
54ec6df6e1
ErigonLib: move types to own package ( #3865 )
2022-04-11 10:05:07 +07:00
ledgerwatch
f56d4c5881
Switch peerId from 256 to 512 bit (as in stable) ( #3862 )
...
* Switch peerId from 256 to 512 bit (as in stable)
* go mod tidy
* Fix some tests
* Fixed
* Fixes
* Fix tests
* Update to erigon-lib main
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2022-04-10 08:01:25 +01:00
Alex Sharov
9b47daee44
Default syncmode=snap for Mainnet, Bsc, Goerli ( #3861 )
...
* change syncmode default to snap sync
* save
2022-04-10 07:20:20 +01:00
alex.sharov
b921813c7d
snapshots: recompress by 2 erigon binaries
2022-04-08 11:02:44 +07:00
Andrew Ashikhmin
4531461d66
ExchangeTransitionConfiguration: allow non-zero TerminalBlockNumber ( #3846 )
2022-04-08 10:27:56 +07:00
alex.sharov
44a217892b
test of getPayload
2022-04-08 08:47:40 +07:00
Andrew Ashikhmin
c2f1a6082f
Fix runPeer lint ( #3847 )
2022-04-07 13:47:28 +02:00
Alex Sharov
b6334870e8
Snapshots: recompress.sh ( #3845 )
...
* save
* save
2022-04-07 13:26:14 +07:00
Giulio rebuffo
396bd03021
Fixed JWT path when running the rpcdaemon ( #3840 )
2022-04-07 08:53:34 +07:00
Alex Sharov
bc368098c8
Torrent: more cli params ( #3838 )
2022-04-06 21:06:58 +07:00
Alex Sharov
3d52a22f9f
Torrent: uses our logger ( #3837 )
2022-04-06 18:33:48 +07:00
alex.sharov
fee018ae1e
trackerslist up
2022-04-06 16:19:59 +07:00
Alex Sharov
2efc723dbd
Torrent: enable ws ( #3836 )
2022-04-06 16:15:37 +07:00
Alex Sharov
6f7a9dbace
Snapshots: nat support ( #3834 )
2022-04-06 15:25:32 +07:00