Commit Graph

13975 Commits

Author SHA1 Message Date
ledgerwatch
7ffd67e973
Move tests 4 (#2057)
* Convert tests to new staged sync 4

* More

Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
2021-05-30 22:58:00 +01:00
ledgerwatch
5f7418a393
Switching tests to new staged sync 3 (#2055)
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
2021-05-30 21:44:57 +01:00
ledgerwatch
1181054409
Revert bugfix that introduces performance regression (until a better one found) (#2056)
* Revert "Bug fix"

This reverts commit ae6f04b084318039747583e902e16e52315f0c32.

* Temp skip test

Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
2021-05-30 21:44:36 +01:00
Andrea Lanfranchi
aa1f64eb78
Win build patch 2 (#2054)
* More strict path enforcement for Mingw compilers

* Update Readme about antiviruses

* Update README.md incomplete links

* Incomplete link
2021-05-30 19:14:28 +01:00
ledgerwatch
297e7f44ff
Fetcher fixes (#2053)
* Fetcher fixes

* Add missing message code

* Avoid warnings

* Correct loop

Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
2021-05-30 19:08:06 +01:00
ledgerwatch
ccc16012a4
Fix typo in sentry (pooledtx 65/66) (#2051)
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
2021-05-30 13:14:29 +01:00
Alex Sharov
3016b96e88
1 Sentry per protocol (#2046) 2021-05-30 09:53:30 +07:00
ledgerwatch
2b4b90531d
Further conversion of tests to new staged sync (#2049)
* Further conversion of tests to new staged sync

* More conversion

* More conversions

* More conversions

* More conversions

* Bug fix

Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
2021-05-29 22:45:24 +01:00
Andrea Lanfranchi
cdcf9a10be
Mdbx wsl2 (#2048)
* wsl2

* Handle PS crash for garbage keys

* More strict error checking

* Update readme for reintroduced WSL support

* Wrong htop display only for LMDB

* Wrong link in Readme

* A further note on WSL IP address

Co-authored-by: alex.sharov <AskAlexSharov@gmail.com>
2021-05-29 14:16:53 +01:00
ledgerwatch
acc562e815
Test refactoring to move to new staged sync (#2047)
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
2021-05-29 12:46:49 +01:00
Alex Sharov
0d82fc210a
sentry datadir to use same default as erigon (#2044) 2021-05-29 10:57:21 +01:00
Alex Sharov
0f2b3cc3de
sentry: better handle grpc errors (#2045)
* sentry handle grpc errors

* sentry direct client to support context
2021-05-29 10:56:37 +01:00
Alex Sharov
1a943da232
sentry addr comma separate (#2043) 2021-05-29 08:12:36 +01:00
Alex Sharov
d27dfafcc6
nat settings similar to tg behaviour (#2042) 2021-05-29 08:12:28 +01:00
ledgerwatch
9efb15b792
Delete eth/downloader (#2040)
* Delete eth/downloader

* Delete tests

* Delete more

* Delete peerset

* Delete eth/peer.go

Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
2021-05-28 22:14:02 +01:00
ledgerwatch
87d24be960
Drop download.v2 flag (#2039)
* Drop download.v2 flag

* Lint

* Skip tests

* Skip test

Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
2021-05-28 16:32:34 +01:00
Alex Sharov
036666064c
log tx per sec (#2037) 2021-05-28 13:56:26 +01:00
Alex Sharov
60e8a31fe3
genesis switch db (#2038)
* genesis switch db

* genesis switch db
2021-05-28 13:55:48 +01:00
alex.sharov
6b826174c1 use default dynamic mdbx dpLimit 2021-05-28 14:08:24 +07:00
Alex Sharov
3a9b38756e
pass cli flag to enode (#2033) 2021-05-28 08:56:05 +07:00
alex.sharov
e4ee6a1f5b allow lmdb_to_mdbx create buckets 2021-05-28 08:54:23 +07:00
ledgerwatch
5d6305952a
Simplifications of gas price oracle (#2036)
* Simplifications of gas price oracle

* Make price suggestion non-concurrent

Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
2021-05-27 20:33:02 +01:00
ledgerwatch
3a7d001383
Simplifications in headers_algo (#2035)
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
2021-05-27 18:47:50 +01:00
Artem Vorotnikov
2d3020982d
Rename TEVM tables (#2032)
* Rename TEVM tables

* use rename

* fix

Co-authored-by: Evgeny Danienko <6655321@bk.ru>
2021-05-27 18:58:39 +03:00
Evgeny Danilenko
7352b81122
Tevm stage 1 (#1845)
* convert contracts after block execution

* check if has tevm code

* after review-1

* handle ErrNotFound

* typo

* tests

* tevm code bucket

* testdata

* execute pre-stage

* after merge

* test fix

* test fix

* fix test after merge

* disable translation stage

* after merge

* rename params

* rename to Erigon

* parallelize EVM translation

* fix

* logging and fixes

* fix

* todos

* cleanup

* revert erigorn renaming

* unwind

* tevm unwind

* fix AppData

* non-parallel version

* comments
2021-05-27 14:54:55 +01:00
Igor Mandrigin
5085a15b28 begin 2021.06.01 release cycle 2021-05-27 14:31:05 +02:00
ledgerwatch
c4f5e9ae08
Update README.md 2021-05-27 11:48:06 +01:00
Andrea Lanfranchi
804e337d51
Win build patch (#2027)
* Add MDBX build files to ignore list

* Delete previous tg.exe binary if present
(see #2023)
2021-05-27 11:34:44 +01:00
ledgerwatch
2c01612c48
Update skip_analysis.go (#2026) 2021-05-27 11:34:35 +02:00
ledgerwatch
06e2e9dc4e
Update README.md (#2025) 2021-05-27 08:37:31 +01:00
ledgerwatch
d5c2e5fd9a
checkChangeSet to work with MDBX, load senders for better performance (#2024)
* CheckchangeSets switch to MDBX

* Load senders

Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2021-05-27 08:37:23 +01:00
ledgerwatch
5a0afc0a72
Remove old tg binary before building erigon binary (#2023)
* Update Makefile

* Use -f flag
2021-05-27 06:57:25 +01:00
Alex Sharov
ffb5fceb6e
switch node db to mdbx (#2022) 2021-05-27 10:08:33 +07:00
ledgerwatch
c15735d7a0
Make c in storage-mode default (#2021) 2021-05-26 16:00:43 +01:00
Alex Sharov
ed64380226
Up db schema for mdbx (for all) and up kv version: to 2.0.0 (#2019)
* mdbx db schema version up

* Remove migration to simplify

Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
2021-05-26 12:51:44 +01:00
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