Alex Sharov
b8dbb53d3b
e3: write history and indices to etl ( #5742 )
2022-10-15 08:20:58 +07:00
awskii
7895156543
commitment fixes for erigon4 ( #5695 )
...
- Fixed commitment issues both erigon3/erigon4
- get back update-based commitments approach
- partially fixed state seeking
2022-10-11 13:21:32 +01:00
Alex Sharov
a2e51a2469
e3: prune limited amount before commit #675 ( #5693 )
2022-10-11 11:25:13 +07:00
Leonard Chinonso
b405dfdff7
Added separate logging to devnet nodes ( #5618 )
...
Added separate logging to devnet nodes
- Created two log files for the mining and non-mining nodes
- Piped log outputs to the two separate log files
2022-10-06 20:06:03 +01:00
Håvard Anda Estensen
23d21f3b44
Enable unconvert linter ( #5566 )
2022-09-28 15:10:38 +01:00
Artem Tsebrovskiy
82d0dcfbe9
E23 commitment ( #4947 )
...
* erigon23 commitment
fixed mainnet genesis roothash, get back with update processing
erigon23 replay after restart, index lookup fix
bumped erigon-lib
* bumped erigon-lib ver
2022-09-26 19:09:10 +01:00
Alex Sharov
cb60382e6d
erigon3: rename "history.v2" to "history.v3" to avoid naming miss-match with "erigon3" ( #5519 )
2022-09-26 10:54:42 +07:00
Krishna Upadhyaya
bac6b071ab
use HeimdallURL flag instead of hardcoded value ( #5452 )
2022-09-21 14:55:11 +07:00
ledgerwatch
46f8d891d5
clean up erigon2.2 prototype ( #5446 )
...
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
2022-09-20 18:50:14 +01:00
Artem Tsebrovskiy
2b6d206497
added separated user/error log files to erigon 22/23 ( #5156 )
...
* added separated user/error log files to erigon 22/23
* added variable prefix to log file name
* updated log dependency
2022-09-20 16:51:09 +01:00
Alex Sharov
9fb8a190bc
erigon22: folder snapshots/history ( #5351 )
2022-09-18 17:41:01 +07:00
Alex Sharov
f6ca07e215
integration --workers flag ( #5326 )
2022-09-10 10:37:56 +07:00
Alex Sharov
8813ea87fd
Erigon22: add state reconstitution to stage_exec ( #5321 )
2022-09-09 14:40:25 +07:00
Alex Sharov
caa23b9532
erigon22: simplify interhashes stage ( #5315 )
2022-09-08 14:02:50 +07:00
ledgerwatch
693017c554
Cleanup Tevm experimental code ( #5259 )
...
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2022-09-01 19:49:29 +01:00
Alex Sharov
a0af80014c
erigon22: rename historyReader22 to historyReader23 ( #5202 )
2022-08-27 15:21:02 +07:00
Alex Sharov
fb2294d124
Erigon22: basic txNum forward/unwind ( #5176 )
2022-08-25 12:24:01 +07:00
Håvard Anda Estensen
3b1d4d9c1b
Enable gocritic linter ( #5173 )
...
* Enable gocritic linter
* Remove dead linters
* Make gosec shut up
2022-08-25 09:08:56 +07:00
Andrew Ashikhmin
992ae01a7e
WithTablessCfg -> WithTableCfg ( #5163 )
2022-08-24 11:29:07 +02:00
Alex Sharov
16d02c8cc9
erigon22: unwind trie support ( #5159 )
2022-08-24 11:37:58 +07:00
Alex Sharov
c1214e4ac5
erigon22: incremental stage trie ( #5116 )
2022-08-19 13:23:23 +07:00
Alex Sharov
30324fbb81
erigon22: get acc index from aggregator22 ( #5114 )
2022-08-19 11:30:59 +07:00
Alex Sharov
cb9f86fcbc
erigon22: incremental hash state stage ( #5111 )
2022-08-19 10:00:47 +07:00
Alex Sharov
46ef7e5305
erigon22: incremental hash state stage ( #5102 )
2022-08-19 09:35:43 +07:00
ledgerwatch
2e50dc9543
Erigon22 - small fixes to reconstitution ( #5076 )
...
* Fix db issues
* Fix
* another fix
* Another fix
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2022-08-16 11:50:04 +01:00
Håvard Anda Estensen
13322893cb
Enable gosimple linter ( #5071 )
...
* Run gofmt
* Simplify slice making
* Use simple channel to receive instead of select with single case
* Enable gosimple linter
2022-08-16 13:02:13 +07:00
ledgerwatch
0f20e1cb93
erigon2.2 optimise reconstitution of state ( #4958 )
...
* No parallel buildFiles and mergeFiles to conserve memory
* go mod
* Fix and optimise
* Fix
* Another fix
* Fix
* Extra return value
* Optimise recon
* Another optimisation of recon
* Different order of usage
* Fix
* Fix
* Optimise allocations
* Lookup before going to history
* Fix
* Fix
* Optimise a bit more
* Only use one helper table
* Set bro tx
* Set broTx to writer
* Use same db for recon and x
* Write into chainDb
* Update to latest erigon-lib
* Remove test
* Set execution progress
* Fix compilation
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
Co-authored-by: Alex Sharp <alexsharp@alexs-mbp.lan>
2022-08-14 19:49:32 +01:00
Giulio rebuffo
6713abb420
fixed exec22 panic ( #5045 )
...
Co-authored-by: giuliorebuffo <giuliorebuffo@system76-pc.localdomain>
2022-08-13 18:54:32 +01:00
Alex Sharov
52fd0d0e8b
Aggregator22.Unwind() ( #5039 )
...
* save
* save
2022-08-13 18:51:25 +07:00
Alex Sharov
de3a602a24
erigon22: bsc fixes
2022-08-13 16:09:52 +07:00
Alex Sharov
4f007ae43e
erigon22: use chainDB instead of db22 for everything ( #5034 )
2022-08-13 12:08:15 +07:00
Alex Sharov
e27f669a3f
erigon2.2: save stage progress to chainDB, can run "integration stage_exec" and "state erigon22" on same datadir ( #5033 )
2022-08-13 11:17:24 +07:00
Giulio rebuffo
8ade569cc5
Save PoW blocks for processing received through P2P ( #5015 )
...
* save terminal blocks
* ops
* save less PoW blocks
Co-authored-by: giuliorebuffo <giuliorebuffo@system76-pc.localdomain>
2022-08-12 21:54:20 +02:00
Alex Sharov
25d85d88c5
state erigon22: use right db ( #5028 )
2022-08-12 21:45:09 +07:00
Alex Sharov
4594ce5ef7
erigon22: history.v2 flag, align rpcdaemon22 ( #5016 )
...
* save
* save
* save
* save
* save
2022-08-12 16:13:14 +07:00
Alex Sharov
a7d07ad04d
erigon22 add to exec stage ( #5008 )
...
* save
* save
* save
2022-08-11 21:06:41 +07:00
Alex Sharov
d643da3db8
erigon22 move exec to own package ( #5003 )
...
* save
* save
2022-08-11 11:36:13 +07:00
Alex Sharov
e786cbac24
E22 step2 ( #5002 )
2022-08-11 11:19:59 +07:00
Alex Sharov
f83032533f
Revert "move exec22 to package, call it from stage_exec ( #5000 )" ( #5001 )
...
This reverts commit efa6dfd8ce
.
2022-08-11 11:18:23 +07:00
Alex Sharov
efa6dfd8ce
move exec22 to package, call it from stage_exec ( #5000 )
2022-08-11 11:17:03 +07:00
Alex Sharov
351cd49c21
go1.19 gofmt ( #4988 )
2022-08-10 19:04:13 +07:00
Alex Sharov
0beb295745
torrent: try burst limit fix panic ( #4983 )
...
* save
* save
2022-08-10 18:52:36 +07:00
Alex Sharov
bd721b9fd7
Erigon22: reduce amount of variables. progress object and use of db.update ( #4967 )
...
* save
* save
* save
* save
* save
2022-08-09 11:46:57 +07:00
Alex Sharov
b717ff5df5
erigon22: move worker to package ( #4966 )
...
* save
* save
* save
* save
* save
2022-08-09 10:39:34 +07:00
Leonard Chinonso
592fe32217
Refactoring To Increase Code Quality ( #4842 )
...
* General cleanup and fixes
* Cleaning part 2
* cleanup part 3
* Refactored staterunner to have a handler function
* Fixed linting
* Cleanup part 4
* Changed the initialization of the require package and updated .golangci.yml
* Fixed lint errors from golangci-lint
* deleted state_recon_1.go
* fixed build error
* Added ReadHeaderTimeouts for httpServer
* made changes to golangci
* Reset golangci.yml
2022-08-04 20:23:00 +07:00
ledgerwatch
e56491c601
Erigon22 prototype without parallel execution, fix for BSC upgrade contract ( #4884 )
...
* No parallelisation in erigon22 prototype
* Remove paralell
* tx/s
* commit
* Fix overlap
* workers argument
* Print
* Print
* Stable sort
* Print
* Init
* Remove print
* Remove print
* Remove print
* No sorting
* Cleanup
* Fix hangs
* Fix reconstitution for contract upgrades
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
2022-08-04 13:00:46 +01:00
Alex Sharov
35878b29c4
erigon22: auto-create dir ( #4912 )
2022-08-03 15:10:28 +07:00
Alex Sharov
0d21da4a01
erigon22: auto create dir ( #4911 )
2022-08-03 14:43:47 +07:00
Leonard Chinonso
ec67e80a8a
Fixed lint errors for gocritic linter ( #4904 )
2022-08-03 00:35:22 +07:00
Leonard Chinonso
6061690f61
Fixed lint errors for unused linter ( #4902 )
2022-08-02 22:01:53 +07:00