Commit Graph

15680 Commits

Author SHA1 Message Date
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
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
Andrea Lanfranchi
37f977fbf2
Update libmdbx source (#3922) 2022-04-20 21:56:41 +07:00
alex.sharov
25ab64558d save 2022-04-20 16:00:04 +07:00
Giulio rebuffo
fee16c17bf
removed unused code (#3919) 2022-04-19 17:18:46 +01:00
ledgerwatch
5b9f973a56
Update preverified hashes (#3918)
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2022-04-19 17:17:26 +01:00
alex.sharov
cbd1116cf3 save 2022-04-19 17:40:09 +07:00
ledgerwatch
ac4cc0598c
Update skip_analysis.go (#3917) 2022-04-19 08:59:38 +01: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
ledgerwatch
748f70e7be
Fixes in header downloader (#3913)
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2022-04-18 18:01:20 +01:00
Alex Sharov
e1d7cc3d3f
Enable: syncmode=snap by default (goerli, mainnet, bsc) (#3910) 2022-04-18 14:40:40 +07:00
alex.sharov
d10d194984 save 2022-04-18 11:27:36 +07:00