Commit Graph

615 Commits

Author SHA1 Message Date
Alex Sharov
6a7f8fb2a6
erigon3: cli command to force merge snapshots (#5680) 2022-10-10 09:47:01 +07:00
Alex Sharov
c138ab4aeb
e3: fix nil ptr at close (#5640) 2022-10-06 12:22:34 +07:00
Alex Sharov
ca9aa4723c
Compress params change (#5631)
as of https://github.com/ledgerwatch/erigon-lib/pull/651
2022-10-05 17:54:54 +07:00
Alex Sharov
c48d51a582
snapshot index workers amount - based on available RAM and CPU (#5524) 2022-10-05 17:07:01 +07:00
Alex Sharov
4e3c02f48f
eliasfano32.Max() method on serialized bytes (#5603)
* save

* Update erigon-lib to main

Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2022-10-04 11:14:37 +01:00
Alex Sharov
15cac71f3f
madv helpers (#5610)
* save

* save

* save
2022-10-04 10:52:56 +01:00
Alex Sharov
fa16d5e855
erigon3: step toward background snapshots build (#5588) 2022-10-02 10:21:17 +07:00
Alex Sharov
1b17a3226a
agg print stats at startup (#5586) 2022-10-01 09:29:28 +07:00
Alex Sharov
d4f6f22009
ef revert to unsafe.pointer use #661 #5578 2022-09-30 14:01:34 +07:00
Alex Sharov
8125505f09
up erigon-lib version #5576 2022-09-30 08:32:16 +07:00
a
9f6fd488d2
[cl lightclient] - packet decoding & ssz code generation (#5558)
* added subscription to gossip

* added all handlers with logs

* disconnecting from peers with goodbye message received

* added time out for stream

* wip

* Remove unused

* remove extra structs

* status handler

* minor clean up

* add structs for altair light client

* begin writing out altair light client sync protocol to figure out what other structs are needed

* remove sszgen

* cleanup pt 1

* cleanup pt 2

* remove go 1.19 function

* less ambigious variable name

* run go fmt

* rename snappy_ssz to ssz_snappy to better align with wire name

* move more structs over

* poof set deadline

Co-authored-by: Enrique Jose Avila Asapche <eavilaasapche@gmail.com>
Co-authored-by: a <a@a.a>
2022-09-29 19:07:57 +02:00
Alex Sharov
f4a7d2cf6d
erigon3: build .vi after download (#5568) 2022-09-29 12:14:51 +07:00
Alex Sharov
711b619876
erigon3: simplify history reader (fixing edge case of reading history from files) 2022-09-28 13:49:20 +07:00
Alex Sharov
e4ad73bcb4
erigon3: agg to use workers for compress and merge (#5561) 2022-09-28 13:05:26 +07:00
Giulio rebuffo
62d4552b03
Updated go-verkle library (#5548)
* updated go verkle

* updated go verkle

* now it is well adapted

* accessories

Co-authored-by: giuliorebuffo <giuliorebuffo@system76-pc.localdomain>
2022-09-27 22:45:48 +02:00
Enrique Jose Avila Asapche
123d7379cc
Gossip lightclient (#5549)
* added subscription to gossip

* added all handlers with logs

* disconnecting from peers with goodbye message received

* added time out for stream
2022-09-27 22:34:06 +02:00
awskii
c2655ad6ef
reverted Elias-Fano merge (#5546)
* reverted ef merge

* skip ef merge test

* Update to main

Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2022-09-27 18:12:11 +01:00
Giulio rebuffo
b47b13c1ff
added handler for ping p2p method (#5530)
* added handlers

* updated mod and sum

* ops

Co-authored-by: giuliorebuffo <giuliorebuffo@system76-pc.localdomain>
2022-09-26 22:34:31 +02: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
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