Commit Graph

15981 Commits

Author SHA1 Message Date
Alex Sharov
f6c9d2beea
downloader torrent_hashes --verify: 1 error line per file #4386 2022-06-07 09:36:42 +07:00
ledgerwatch
3d3b190e42
Copy deletion key to prevent deleting more blocks (#4384)
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
2022-06-06 23:04:24 +01:00
ledgerwatch
b2f9b25300
For for overwritten anchor (#4379)
* For for overwritten anchor

* Switch to time types, log retry time in diagnostics

Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2022-06-06 18:23:41 +01:00
Andrew Ashikhmin
f3575ce46a
Fix MarkAllVerified (#4380) 2022-06-06 18:22:08 +01:00
Alex Sharov
109e8ab814
StageSenders: wrong canonical array size at initial sync with snapshots (#4378)
* save

* save

* save
2022-06-06 18:08:33 +01:00
Giulio rebuffo
135fe6f0a6
removed left over from previous mining algo (#4377) 2022-06-06 08:35:53 +07:00
ledgerwatch
3ad9359694
More skip analysis (#4374)
* More skip analysis

* Update

* Update to latest erigon-lib

Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2022-06-05 22:42:33 +01:00
Nathan (Blaise) Bruer
2514fca7cb
Fix documentation of deprecated --syncmode -> --snapshots (#4376) 2022-06-05 19:13:32 +01:00
Nathan (Blaise) Bruer
ed1140e7a6
Add documentation on how to build in docker with BuildKit (#4375)
A recent change now causes docker-compose to use buildkit. This
change just documents how to run docker-compose with buildkit.
2022-06-05 19:13:25 +01:00
Giulio rebuffo
dce6ac22d0
Revert "Handling of already canonical payloads (#4367)" (#4373)
This reverts commit df80b0d915.
2022-06-05 16:07:36 +02:00
ledgerwatch
4a5f97527b
Better diagnostic for stuck headers (#4372)
* More stuck headers diagnostics

* Temp print

* Remove temp print

Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2022-06-05 15:00:13 +01:00
Giulio rebuffo
df80b0d915
Handling of already canonical payloads (#4367)
* deprecated ACCEPTED status

* pre-check for existing canonical header
2022-06-05 14:16:52 +02:00
ledgerwatch
1231f8c21c
Add bor mainnet to embed (#4370)
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2022-06-05 11:39:27 +01:00
Krishna Upadhyaya
0dae3ad69c
add bor-mainnet to chain snapshots (#4369) 2022-06-05 14:45:45 +05:30
ledgerwatch
7132a90613
Add bor mainnet snapshot hashes (#4368)
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2022-06-05 14:36:26 +05:30
Enrique Jose Avila Asapche
9f1cc40c89
changed syncmode flag to snapshots flag (#4353)
* changed syncmode flag to snapshots flag

* using boolT

* Remove syncmode concept

* Add mumbai

Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2022-06-05 07:33:55 +01:00
ledgerwatch
ca2b0f19c1
Fix checkChangeSets and RPC daemon commands accessing history (#4365)
* Simplifications

* Print

* Fix

* Clean up

* Fixed RPC daemon command accessing history

Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2022-06-04 23:06:30 +01:00
ledgerwatch
ee4ffd190d
Update skip analysis (#4364)
* Skip analysis advance, fix for change sets

* Optimisations for integration

* Print

* Print

* Fix

* Fix

* Fix

* Remove prints

* No panic

* More checks

Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2022-06-04 16:54:22 +01:00
ledgerwatch
db8873714d
Fix (#4362)
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2022-06-04 11:13:06 +01:00
Alex Sharov
de20b01e27
"make docker" add latest tag #4361 2022-06-04 12:59:22 +07:00
Alex Sharov
fe77819458
Snap: use tmp sub-dir to allow mount datadir/snapshot to another drive (#4349) 2022-06-04 10:13:55 +07:00
Alex Sharov
de8bd10bcc
docker compose: allow inheritance #4360 2022-06-04 10:13:36 +07:00
Willian Mitsuda
e792adb131
Fix error msg params (#4357) 2022-06-04 09:31:18 +07:00
Alex Sharov
457e043401
skip empty senders (#4359) 2022-06-04 09:21:33 +07:00
Alex Sharov
24af9bd1c6
return docker compose yml version line #4358 2022-06-04 09:06:04 +07:00
ledgerwatch
96603f14da
Print changes (#4351)
* Print changes

* Comment out prints, add hack to find prefix

Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2022-06-03 22:50:20 +01:00
Andrew Ashikhmin
5bdd68ec5f
New Ropsten TTD (#4355) 2022-06-03 18:48:09 +02:00
Andrew Ashikhmin
53b30e91c3
Authorize Clique & Parlia even when wrapped into Serenity (#4354)
* Print more info on ErrUnauthorizedSigner

* Authorize Clique even when wrapped into Serenity

* Revert "Print more info on ErrUnauthorizedSigner"

This reverts commit b0ab83ffbed45d6beeb8ba30a6ea576b2003ab26.

* Authorize Parlia even when wrapped into Serenity
2022-06-03 18:14:49 +02:00
Alex Sharov
f838268e44
[wip] Snapshots: more runtime invariants check (#4350) 2022-06-03 18:50:01 +07:00
Enrique Jose Avila Asapche
49292346b3
Auto correcting sync mode instead of giving an error (#4337) 2022-06-03 09:38:10 +01:00
Alex Sharov
848820de02
readme modularity (#4348) 2022-06-03 10:16:21 +07:00
Alex Sharov
ade167f950
compose clarify comment #4347 2022-06-03 09:57:27 +07:00
Alex Sharov
318a08f810
readme alpha/beta (#4345) 2022-06-03 09:06:54 +07:00
Alex Sharov
ee32acec2f
readme alpha/beta (#4342) 2022-06-03 09:04:17 +07:00
Mihai
8a4e122258
fix broken link (stagedsync.go) (#4339)
replace with link to stages.go
2022-06-02 21:08:49 +01:00
ledgerwatch
bcbb8bec65
Try to prevent double block retire (#4330)
* Try to prevent double block retire

* Remove print

* More careful setting of segmentsMax

* Print snapshots max

* Clean lists

* Print

* Use Reopen

* Fix

* Remove prints

Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2022-06-02 16:58:38 +01:00
Andrew Ashikhmin
45cf6ee978
Fix LatestValidHash nil pointer (#4338) 2022-06-02 16:35:42 +02:00
Giulio rebuffo
f2be5a74a0
fixed it (#4336) 2022-06-02 15:54:11 +02:00
Enrique Jose Avila Asapche
bc21ab9d97
syncmode changes (#4334)
* log syncmode

* little comment

* ops

* calling log in correct place

* got rid of error instead we warn

* no return
2022-06-02 14:15:00 +01:00
Alex Sharov
ea9e547be5
--snap.stop: to prevent indexing on stage_header #4335 2022-06-02 19:06:03 +07:00
Alex Sharov
0d2f77ad2a
compose: abs path to jwt.hex (#4333) 2022-06-02 16:03:33 +07:00
Alex Sharov
4150c66eb7
Dockerfile add buildcache (#4332) 2022-06-02 15:49:21 +07:00
Alex Sharov
3ab2f07294
DockerCompose: add txpool and sentry (#4329) 2022-06-02 11:46:40 +07:00
Zachinquarantine
07ee96a4d6
Fix CONTRIBUTING.md file (#4328)
Replaces "go-ethereum" with "Erigon"
2022-06-02 10:50:00 +07:00
ledgerwatch
b06b4b4c91
Prevent double retiring of the same interval, prevent hiding errors (#4325)
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2022-06-02 08:49:24 +07:00
ledgerwatch
e0ac654da5
Better diagnostics for anchorQueue (#4326)
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2022-06-01 23:45:06 +01:00
Giulio rebuffo
40230d5ab5
Refactor mining batch (#4322)
* refactooor

* updated ethdb

* more fixing

* more fixing

* more

* refactoor

* fixed mdbx crash
2022-06-01 22:48:42 +01:00
battlmonstr
0c5d1d64a3
observer: sentry candidates intake (#4321)
* sentry client: log connected peer info

* observer: unseen sentry peers report

* observer: refactoring node.go to node_utils

* observer: sentry candidates intake
2022-06-01 22:48:24 +01:00
leonardchinonso
878cc063b0
Draft PR to complete devnet automation (#4278)
* Fixing headers stuck in StageSync

* Removed ./dev folder and cleaned up code

* Removing the logs subscription tests
2022-06-01 22:47:12 +01:00
Alex Sharov
e13e212288
rpc: add all blockReader methods (#4320)
* save

* save
2022-06-01 09:57:12 +07:00