Commit Graph

15680 Commits

Author SHA1 Message Date
Alex Sharov
9305efeaa7
Snapshots: use kv.ReadAhead helper (#3909) 2022-04-18 10:48:09 +07:00
Giulio rebuffo
5a805abdd4
revert (#3908) 2022-04-18 08:55:30 +07:00
Alex Sharov
0a5ce152a4
save (#3902) 2022-04-17 09:22:00 +01:00
ledgerwatch
b45707ca06
Update header_algos.go (#3907) 2022-04-17 07:45:56 +01:00
Alex Sharov
768e1204f6
integration: check that snapshots are nil #3906 2022-04-17 09:54:00 +07:00
Alex Sharov
f2a9763a6d
integration: senders check that snapshots are not nil #3905 2022-04-17 09:52:05 +07:00
Alex Sharov
4419c23866
Compress: reduce maxlen to 512 (#3891) 2022-04-17 07:59:38 +07:00
Giulio rebuffo
94e21d0c41
done (#3889) 2022-04-16 17:57:39 +02:00
ledgerwatch
ba689258fa
Update header_algos.go (#3900) 2022-04-16 14:48:45 +01:00
ledgerwatch
f41c61de7c
Update skip_analysis.go (#3897) 2022-04-15 21:39:33 +01:00
Alex Sharov
5ff7ddda22
Change libmdbx submodule origin (#3893)
* save

* save
2022-04-15 13:37:28 +07:00
Alex Sharov
9d2455318a
do panic - to exit with correct code #3886 2022-04-15 08:30:24 +07:00
Giulio rebuffo
ef14176007
Caching Least Recently Used Contract Code in Stage Execution (#3887)
* caching gets

* whitelist

* fix

* less ram

* comment
2022-04-14 23:34:03 +02:00
Andrew Ashikhmin
7b8d828aa1
RPC: return latest available block rather than forkchoice head (#3888) 2022-04-14 18:05:59 +02:00
Alex Sharov
777412e0bb
Snapshots: notify before remove (#3885)
* goerli

* goerli
2022-04-14 14:56:08 +07:00
alex.sharov
d439b76a1f goerli 2022-04-14 11:12:15 +07:00
ledgerwatch
78a58047dc
Fix in recompression (#3884)
* Fix in recompression

* Fix error handling

Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2022-04-14 11:07:17 +07:00
Defido Coin
280204bcc9
Update README.md (#3882)
Fixed important between
2022-04-13 17:51:03 +01:00
ledgerwatch
156da607e7
More compact representation of huffman trees in the seg files (#3875)
* More compact representation of huffman trees in the seg files

* Update to latest erigon-lib

* recompress

* recompress

* recompress

* uncompress: buf fix

* Update to latest erigon-lib

* Revert default sync mode

Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
Co-authored-by: alex.sharov <AskAlexSharov@gmail.com>
2022-04-13 16:29:44 +01:00
alex.sharov
8db37cfd97 change default syncmode 2022-04-13 19:09:20 +07:00
Alex Sharov
652825b629
recompress (#3880) 2022-04-13 13:00:05 +01:00
alex.sharov
482e06ead3 uncompress: buf fix 2022-04-13 16:35:21 +07:00
alex.sharov
594477ab23 uncompress: buf fix 2022-04-13 12:45:22 +07:00
alex.sharov
1501b47a45 recompress 2022-04-12 22:22:13 +07:00
Andrew Ashikhmin
b41fe19ecb
Memorize bad PoS headers (#3879)
* Memorize bad PoS headers

* More places to ReportBadHeaderPoS
2022-04-12 17:05:23 +02:00
alex.sharov
bba0c686e9 recompress 2022-04-12 15:03:44 +07:00
alex.sharov
0b63264531 recompress 2022-04-12 15:01:25 +07:00
alex.sharov
6cbbfb46eb recompress 2022-04-12 14:53:21 +07:00
alex.sharov
35674e81c0 recompress 2022-04-12 14:51:45 +07:00
Alex Sharov
21486ecdb5
mdbx: fix assert (#3876) 2022-04-12 09:57:25 +07:00
Alex Sharov
ff44db147e
Torrent: Increase peers amount to improve Swarm-ing, can do it now because have ratelimiter #3877 2022-04-12 09:09:09 +07:00
Alex Sharov
4be4e5b99a
Torrent: enable rate limiter (#3872)
* save

* save

* save

* save
2022-04-11 18:45:28 +07:00
Alex Sharov
c56d32682e
fix_nil_pointer (#3871) 2022-04-11 17:29:53 +07:00
Alex Sharov
b329d675ec
Torrent best trackers (#3870)
* best trackers

* save
2022-04-11 14:01:12 +07:00
Alex Sharov
0842e2bd12
RetireBlocks: preserve genesis (#3869)
* save

* save

* save
2022-04-11 13:16:45 +07:00
Alex Sharov
54ec6df6e1
ErigonLib: move types to own package (#3865) 2022-04-11 10:05:07 +07:00
alex.sharov
673a0ad430 github actions/cache@v3 2022-04-11 08:55:21 +07:00
ledgerwatch
f56d4c5881
Switch peerId from 256 to 512 bit (as in stable) (#3862)
* Switch peerId from 256 to 512 bit (as in stable)

* go mod tidy

* Fix some tests

* Fixed

* Fixes

* Fix tests

* Update to erigon-lib main

Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2022-04-10 08:01:25 +01:00
Alex Sharov
9b47daee44
Default syncmode=snap for Mainnet, Bsc, Goerli (#3861)
* change syncmode default to snap sync

* save
2022-04-10 07:20:20 +01:00
Andrea Lanfranchi
03bd96ef8c
Remove unneeded Plainstate lookups for EOAs (#3860) 2022-04-10 09:28:41 +07:00
alex.sharov
072e49653a A bit less logs 2022-04-09 10:45:46 +07:00
alex.sharov
637c981350 Fix for slow LogIndex prune 2022-04-09 10:29:40 +07:00
alex.sharov
fea26a4c0d Fix for slow LogIndex prune 2022-04-09 10:14:39 +07:00
Alex Sharov
b512d4423a
Fix for slow LogIndex prune (#3858)
* save

* save
2022-04-09 10:11:18 +07:00
Alex Sharov
3d0b339124
wait for snapshots not only for POW (#3857) 2022-04-09 09:45:18 +07:00
Alex Sharov
4fc88fee59
docker on alpine 3.15 (#3844)
* save

* save
2022-04-08 15:53:40 +07:00
alex.sharov
f02a390dad snapshots: delete portion of ancient blocks on each sync cycle 2022-04-08 14:43:11 +07:00
alex.sharov
b921813c7d snapshots: recompress by 2 erigon binaries 2022-04-08 11:02:44 +07:00
Andrew Ashikhmin
4531461d66
ExchangeTransitionConfiguration: allow non-zero TerminalBlockNumber (#3846) 2022-04-08 10:27:56 +07:00
Giulio rebuffo
e9dba096b1
fixed SIGINT during stage execution in hashmaps (#3849) 2022-04-08 10:24:27 +07:00