596 Commits

Author SHA1 Message Date
Alex Sharov
da7ca3cacf
erigon3: build .efi after download #654 (#5523) 2022-09-26 15:51:39 +07:00
Alex Sharov
37d68e7fcf
torrent deps version up #5515 2022-09-26 09:41:55 +07:00
Enrique Jose Avila Asapche
f9c2f35c8b
update erigon-lib following up erigon-lib pr#650 (#5510) 2022-09-26 09:09:17 +07:00
Giulio rebuffo
0fb982bfeb
Added p2p connection and libp2p host to Erigon Lightclient (#5500)
* added p2p connection and libp2p host

* added p2p connection and libp2p host

* oooops

Co-authored-by: giuliorebuffo <giuliorebuffo@system76-pc.localdomain>
2022-09-24 20:48:56 +02:00
Giulio rebuffo
71112c1aae
Added discovery and connection to consensus layer bootnodes (#5497)
* added peer discovery functionality

* added discovery and connection to consensus layer bootnodes

* lint

Co-authored-by: giuliorebuffo <giuliorebuffo@system76-pc.localdomain>
2022-09-24 16:44:34 +02:00
Giulio rebuffo
622d355f5a
first commit (#5493)
Co-authored-by: giuliorebuffo <giuliorebuffo@system76-pc.localdomain>
2022-09-24 01:53:27 +02:00
Andrew Ashikhmin
610e8f851a
[erigon-lib] changed baseFeeCap from uint64 -> uint256 (#5488) 2022-09-23 13:14:14 +02:00
Giulio rebuffo
a9bde213d9
Introduced separate buckets for Verkle tries (#5480)
* updated Erigon lib

* updated Erigon lib

* added proper verkle database buckets

Co-authored-by: giuliorebuffo <giuliorebuffo@system76-pc.localdomain>
2022-09-22 19:03:57 +02:00
Alex Sharov
7956552980
update some small deps (#5466) 2022-09-22 14:34:47 +07:00
Alex Sharov
ef9e296efd
erigon method to test decompression speed (#5464) 2022-09-22 14:11:39 +07: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
5ccc039497
Test e22 incarnation (#5436) 2022-09-20 11:10:31 +07:00
Alex Sharov
9fb8a190bc
erigon22: folder snapshots/history (#5351) 2022-09-18 17:41:01 +07:00
Alex Sharov
0e8d5d41fc
remove libmdbx git-submodule, make db-tools work on vendored to mdbx-go .c code (after "make dist") (#5392)
* save

* save

* save

* save

* save

* save

* save

* save

* save

* save

* save

* save

* save

* save

* save

* save

* save

* save

* save

* save

* save

* save

* save

* save
2022-09-17 12:55:38 +01:00
ledgerwatch
caeba44728
[erigon22] fix state reconstitution (testing on BSC) (#5391)
* Fix NPE in Parlia integration

* Fix state reconstitution for integration

* Update to latest erigon-lib

Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2022-09-16 10:41:01 +01:00
Andrew Ashikhmin
b8f119a234
Bump map size of in-memory MDBX (#5374)
* Pick up erigon-lib PRs 637 & 639

* Pick up erigon-lib PR 640

* anacrolix/sync is a direct dependency now

* Pick erigon-lib PR 641
2022-09-15 22:19:36 +02:00
Enrique Jose Avila Asapche
0a7a45169a
Short-circuiting (#5342)
* getting latest executed no forkchoice

* short circuting

* Revert "getting latest executed no forkchoice"

This reverts commit d3061b75bd7fd441880912b38033fd60b43e9029.

* naming

* updated erigon-lib
2022-09-13 08:53:43 +07:00
Andrew Ashikhmin
e1076789c3
Update uint256 to v1.2.1 (#5332) 2022-09-12 10:24:41 +07:00
Alex Sharov
caa23b9532
erigon22: simplify interhashes stage (#5315) 2022-09-08 14:02:50 +07:00
Alex Sharov
9e9b5806e0
Erigon22: history iterator v2 2022-09-08 11:13:53 +07:00
Alex Sharov
fceb272c6b
Erigon22: use history iterator (#5303) 2022-09-07 15:58:41 +07:00
Alex Sharov
25e615a878
erigon22: historyReader22 and more tests (#5281)
* save

* save
2022-09-05 21:31:00 +07:00
Alex Sharov
836e3cb721
clean deps (#5276) 2022-09-05 10:32:16 +07:00
Enrique Jose Avila Asapche
8fc7c78620
Bor txlookup (#5260)
* printing

* logging

* spam off

* ops

* clean up

* deleted all bor related stuff in snapshots

* adding bor tx to BorTxLookUp

* added readBorTxLookUp

* getting bor tx from bor lookup

* comments

* deleted bor related stuff

* deleting bor tx

* writing borTxLookUp in stage_txlookup

* using bytes

* little fixes

* updated erigon-lib

* using biEndian

* clean up

* setting bytes for big int

* log

* logging

* more logs

* delete logs
2022-09-02 17:41:58 +03:00
ledgerwatch
73e2d1146e
Cleanup interfaces (#5254)
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2022-09-01 16:44:37 +01:00
Andrew Ashikhmin
6affc2acb6
txpool: Validate v, r, s in signature (#5251) 2022-09-01 16:07:25 +02:00
ledgerwatch
9d88cb59c7
Cleanup interfaces (#5245)
* Cleanup interfaces

* Fix for windows

Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2022-09-01 07:00:29 +01:00
Giulio rebuffo
e74f9bea1b
RLP (#5235)
Co-authored-by: giuliorebuffo <giuliorebuffo@system76-pc.localdomain>
2022-08-31 18:06:19 +02:00
Alex Sharov
74c16f9531
mdbx more metrics (#5240) 2022-08-31 10:05:31 +07:00
Enrique Jose Avila Asapche
12331e018a
Fix bor txlookup (#5170) 2022-08-30 17:23:16 +03:00
Alex Sharov
8c1ceba76d
up erigon-lib (#5229) 2022-08-30 14:37:00 +07:00
Alex Sharov
5e441bfa2a
erigon22: recent history read (#5209) 2022-08-28 11:26:01 +07:00
Alex Sharov
69f3e1e99a
erigon22: step toward /tests 2022-08-25 15:32:05 +07:00
Andrew Ashikhmin
992ae01a7e
WithTablessCfg -> WithTableCfg (#5163) 2022-08-24 11:29:07 +02:00
Alex Sharov
07a9dc9db0
up metrics version (#5160)
* save

* save
2022-08-24 11:49:58 +07:00
Alex Sharov
316ed48427
erigon22: incremental state root calcc (#5132) 2022-08-22 15:52:23 +07:00
Alex Sharov
846351afc6
Compress: limit patternMaxDepth (#5131)
* save

* save

* save
2022-08-22 13:03:56 +07:00
Alex Sharov
619b80f8a4
compress: implemented consensed huffman pattern tables #536 (#5130)
* save

* save

* save
2022-08-22 09:14:49 +07:00
Alex Sharov
30324fbb81
erigon22: get acc index from aggregator22 (#5114) 2022-08-19 11:30:59 +07:00
Alex Sharov
b2f8336d7f
kvcache: reduce wait new block timeout #5099 2022-08-18 12:53:22 +07:00
Alex Sharov
8b34004372
erigon22: unwind code (#5090)
* save

* save
2022-08-17 16:42:07 +07:00
Alex Sharov
6df6640868
erigon22: prune - check key existance (#5059) 2022-08-15 14:36:57 +07:00
Alex Sharov
1a1b606146
erigon22: unwind code (#5058) 2022-08-15 10:27:32 +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
Alex Sharov
f82cca8288
up atomic lib version #5053 2022-08-14 21:12:48 +07:00
Alex Sharov
6495ec6d28
erigon22: working PlainState unwind (#5051) 2022-08-14 18:06:32 +07:00
Alex Sharov
52fd0d0e8b
Aggregator22.Unwind() (#5039)
* save

* save
2022-08-13 18:51:25 +07:00
Alex Sharov
8f086605d9
save (#5032) 2022-08-13 09:53:19 +07:00
Alex Sharov
fc8f3fabc3
mdbx: expose_growth_step (#5030)
* save

* save

* save

* save

* save
2022-08-12 23:04:47 +07:00
Alex Sharov
811f531561
erigon22: support of integration stage_exec (#5029) 2022-08-12 22:39:33 +07:00