Commit Graph

13990 Commits

Author SHA1 Message Date
Evgeny Danilenko
74847d77e6
Rename to Erigon (#2018)
* turbo-geth to erigon

* tg, turbo to erigon
2021-05-26 11:35:39 +01:00
Alex Sharov
e98c1d217b
Sentry mock: mine block with 1 tx (#2017) 2021-05-26 14:02:19 +07:00
ledgerwatch
03cb54a606
Activate refund reduction EIP, simplify code (#2016)
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
2021-05-25 23:26:25 +01:00
ledgerwatch
95bcaf4362
Filter out duplicate messages in sentry (#2014)
* Filter out duplicate messages in sentry

* Move cache to the function

* Fix usage of blake3

Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2021-05-25 18:14:17 +01:00
Alex Sharov
7f58bb3f02
up psutil (#2011) 2021-05-25 15:32:02 +01:00
ledgerwatch
81acb34688
Anchor replacement fix 2 (#2013)
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2021-05-25 15:00:41 +01:00
ledgerwatch
d2048f0530
Add files via upload 2021-05-25 13:49:56 +01:00
ledgerwatch
2789cd24d9
Add files via upload 2021-05-25 12:57:23 +01:00
ledgerwatch
48940013e9
Anchor replacement fix (Stage1 stuck on minor branch of a fork) (#2012)
* Anchor replacement fix (Stage1 stuck on minor branch of a fork)

* Remove stray update

Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
2021-05-25 12:18:39 +01:00
Artem Vorotnikov
2cbb340dc3
Remove UncleanShutdown, InvalidBlocks (#2009) 2021-05-25 09:25:45 +01:00
b00ris
49f1937e61
Fix flacky test (#2008)
* fix test

* get rid of ObjectDatabase
2021-05-25 09:25:16 +01:00
ledgerwatch
d8f5df0fd9
Turn on synced status only after initial cycle (#2006)
* Turn on synced status only after initial cycle

* Update log messages

Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2021-05-24 16:51:00 +01:00
ledgerwatch
7e932a420b
Set highest and highest correctly (#2002)
* Set highest and highest correctly

* Remove batch from headers_new

* Fix for initial cycle

* Better naming

* Don't ruin progress on interruption

* Only print Processed message when not interrupted

Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
2021-05-24 15:35:56 +01:00
Artem Vorotnikov
244ae7adb3
Remove BlockChain object (#2000)
* Remove Blockchain object

* Remove HeaderChain

* fix lint
2021-05-24 14:43:16 +01:00
ledgerwatch
70e3a1f628
Pruning changesets and less noise in the logs (#1999)
* Pruning changesets and less noise in the logs

* Print effective storage mode

* Fix typo

* Fixes

Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
2021-05-23 19:07:15 +01:00
ledgerwatch
7d98b6504a
Improvements in the mock sentry tests (#1997)
* Improvements in the mock sentry tests

* GenerateChain to return chainpack

* Fix consensus

* Fix core

* Fix core/state

* Fix eth

* Fix eth/download

* Fix eth/fetcher

* Fix eth/filters

* Fix eth/gasprice

* Fix eth/protocols/eth

* Fix tests

* Fix turbo/stages

Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
2021-05-23 17:10:34 +01:00
ledgerwatch
835b954f5c
State stream to RPC daemon (#1986)
* Remove interfaces

* Squashed 'interfaces/' content from commit e06631eb4

git-subtree-dir: interfaces
git-subtree-split: e06631eb4d0926c2d6a4f552497b920b4ed8d1bd

* Update KV interface

* Squashed 'interfaces/' changes from e06631eb4..014677ffe

014677ffe Merge remote-tracking branch 'origin/master' into stream
08c32a09e add version method to txPool and ethbackend
5b6bf70b9 Update README.md
7712cb267 Update README.md
f895ece4c save (#37)

git-subtree-dir: interfaces
git-subtree-split: 014677ffe5bff0dee1a333f06c92e6110d791468

* Fix old interfaces

* Squashed 'interfaces/' changes from 014677ffe..df31e1146

df31e1146 remove action from storage change

git-subtree-dir: interfaces
git-subtree-split: df31e1146c368eda2e2b15ab252b78fba7a0a6f3

* add Accumulator

* add location

* Squashed 'interfaces/' changes from df31e1146..472584639

472584639 Merge remote-tracking branch 'origin/master' into stream
dd6a42724 Refactor of consensus interface (#28)

git-subtree-dir: interfaces
git-subtree-split: 472584639f637189dfb906ef1ed03665f98d55d2

* Fix compilation in cons

* Pass accumulator to Execution stage

* Fix test

* Pass accumulator to unwind and plain writer

* Add accumulator use to plain writer

* Squashed 'interfaces/' changes from 472584639f..5c36f038b8

5c36f038b8 State change stream to KV (#38)
REVERT: 472584639f Merge remote-tracking branch 'origin/master' into stream
REVERT: df31e1146c remove action from storage change
REVERT: 014677ffe5 Merge remote-tracking branch 'origin/master' into stream
REVERT: e06631eb4d Fix
REVERT: 9c10d79d2d Fix
REVERT: 61ae9307de Fix
REVERT: 4fcf34ecc5 State change stream to KV

git-subtree-dir: interfaces
git-subtree-split: 5c36f038b87096ffb6b07e90c6762c21b864cd3b

* Add state.stream flag

Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
2021-05-23 15:53:18 +01:00
Andrea Lanfranchi
7020946a2e
Windows build automation (#1998)
* PowerShell script
* Patch Readme.md
2021-05-23 15:50:44 +01:00
Alex Sharov
450c79e3ab
move integration to kv (#1996) 2021-05-23 12:41:42 +07:00
Alex Sharov
a8e8cab4c5
Less blockchain obj in test (#1995) 2021-05-23 10:48:31 +07:00
alex.sharov
be11e9ded4 move setry mock and StageLoopStep to Kv 2021-05-23 10:43:45 +07:00
alex.sharov
defd59d490 move setry mock and StageLoopStep to Kv 2021-05-23 10:39:25 +07:00
ledgerwatch
bd54f431a4
Upgrade to tests 8.0.5 (#1994)
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
2021-05-22 17:23:54 +01:00
ledgerwatch
c5054334ac
Prune traces (#1993)
* Pruning of intermediate table

* Print pruning info

Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
2021-05-22 17:23:46 +01:00
ledgerwatch
6a19321d82
Drop header references from persistent links (#1991)
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
2021-05-22 12:03:53 +01:00
Artem Vorotnikov
5655409616
Do not write old block changesets in pruning storage mode (#1964)
* Remove incremental staged sync

* Do not write old block changesets in pruning storage mode

* Remove pruning flag, put behaviour behind !StorageMode.History
2021-05-22 11:57:10 +01:00
Alex Sharov
14c15cba43
Check version of remote services (#1989)
* save

* save

* Squashed 'interfaces/' content from commit 08c32a09e

git-subtree-dir: interfaces
git-subtree-split: 08c32a09e40b1e6fcb5922e723191c9477545356

* Revert "Squashed 'interfaces/' content from commit 08c32a09e"

This reverts commit 8393d9fd

* save

* seve

* Squashed 'interfaces/' content from commit dd6a42724

git-subtree-dir: interfaces
git-subtree-split: dd6a42724401f34c21662ca1aa1718effb92320d

* ensure versions compatibility of all remote services

* Revert "Squashed 'interfaces/' content from commit dd6a42724"

This reverts commit 2a764bf9

* Squashed 'interfaces/' content from commit dd6a42724

git-subtree-dir: interfaces
git-subtree-split: dd6a42724401f34c21662ca1aa1718effb92320d

* Revert "Squashed 'interfaces/' content from commit dd6a42724"

This reverts commit 52621846

* Squashed 'interfaces/' content from commit dd6a42724

git-subtree-dir: interfaces
git-subtree-split: dd6a42724401f34c21662ca1aa1718effb92320d

* a

* a

* a

* a

* a

Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
2021-05-22 11:00:13 +01:00
ledgerwatch
f4cfa5b408
Update README.md 2021-05-22 10:40:30 +01:00
ledgerwatch
df384d5319
Update README.md 2021-05-22 10:39:06 +01:00
ledgerwatch
729bfab988
Split DBSchema version depending on the database type (#1990)
* Split DBSchema version depending on the database type

* Fix test

* Fix test

* Fix lint

* Update migrations.go

* Update bucket.go

Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
2021-05-22 10:20:43 +01:00
Alex Sharp
91c798b7c6 Revert "db version up"
This reverts commit 5e0a5f2428.
2021-05-22 07:03:36 +01:00
alex.sharov
5e0a5f2428 db version up 2021-05-22 11:31:37 +07:00
Alex Sharov
c4e20896fa
mdbx ensure lib version match (for .dll and .o compatibility) (#1988) 2021-05-22 11:18:04 +07:00
Alex Sharov
11d1e9119e
remove pre-berlin migrations (#1987) 2021-05-22 10:29:00 +07:00
Alex Sharov
545fe32f68
Mdbx - make it default db. Lazy buckets renaming. (#1982) 2021-05-22 10:03:02 +07:00
ledgerwatch
7622e45713
Execution stage slow in download.v2 - drop all tx messages until after initial cycle (#1985)
* Rollback earlier

* Drop tx messages until after initial cycle

* Fix for stuck Ctrl-C

* Disable windows tests

Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
2021-05-21 20:07:23 +01:00
b00ris
f25a67b3b2
Fix final stage in replacement stages (#1983)
* fix

* gofmt

Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
2021-05-21 14:49:29 +01:00
ledgerwatch
4829e1f10c
Update consensus.go (#1981) 2021-05-21 11:35:25 +01:00
Alex Sharov
1df1b85d64
move_integration_to_replacement_stages (#1980) 2021-05-21 12:21:06 +07:00
Alex Sharov
4dcfd24af5
Fix mdbx_problem error (#1979) 2021-05-21 09:45:08 +07:00
Alex Sharov
0be3044b7e
rename (#1978)
* rename

* rename "make grpc"

* rename "abi bindings templates"

* rename "abi bindings templates"
2021-05-20 19:25:53 +01:00
Alex Sharov
215623da80
Windows support (#1944) 2021-05-20 23:46:12 +07:00
b00ris
d6c1cb5684
fix (#1976) 2021-05-20 15:17:57 +01:00
Igor Mandrigin
f7c2d85571 begin 2021.05.04 release cycle 2021-05-20 16:10:42 +02:00
Alex Sharov
141fa4c3e2
set_snapshot_to_stageSync2 (#1975) 2021-05-20 14:29:27 +01:00
ledgerwatch
5f048bc82f
Wrong receipt problem - utility to recover DB (#1970)
* Wrong receipt hack

* Advance5

Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2021-05-20 14:28:38 +01:00
Alex Sharov
a92026c218
fix interface conversion (#1974) 2021-05-20 19:44:01 +07:00
b00ris
c1bd26cc1f
Add snapshot stages to ReplacementStages (#1953)
* add snapshot layout stages

* fix lint
2021-05-20 13:17:47 +01:00
Alex Sharov
50934fa5d3
Move chain maiker to kv (#1972) 2021-05-20 18:49:33 +07:00
Alex Sharov
9d66aa0fe3
better support for mdbx in snapshots (#1971) 2021-05-20 18:12:07 +07:00