Commit Graph

554 Commits

Author SHA1 Message Date
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
Alex Sharov
25d85d88c5
state erigon22: use right db (#5028) 2022-08-12 21:45:09 +07:00
Enrique Jose Avila Asapche
bec93b54e6
erigon-lib nill ptr check (#5021) 2022-08-12 17:01:31 +07:00
Andrew Ashikhmin
2fc084c321
erigon-lib: Various fixes and improvements of MemoryMutation (#4990)
* erigon-lib: Various fixes and improvements of MemoryMutation

* Switch back to main branch of erigon-lib
2022-08-11 10:43:00 +02:00
Alex Sharov
cebb44b486
up_metrics version (#4986)
* save

* save

* save
2022-08-10 18:39:27 +07:00
Alex Sharov
9595c239c2
erigon22: optimize index.add #571 (#4965)
* save

* bsc
2022-08-09 10:28:36 +07:00
Alex Sharov
3680bfc326
Mdbx: semaphore fix release (#4926)
* save

* save
2022-08-04 12:34:26 +07:00
Alex Sharov
1413b1c37c
Sn: parallel files indexing progress logs (#4925) 2022-08-04 12:31:25 +07:00
Alex Sharov
35878b29c4
erigon22: auto-create dir (#4912) 2022-08-03 15:10:28 +07:00
Alex Sharov
e60b38e283
decompress: catch maxDepth underflow (#4882)
* save

* save
2022-08-01 12:40:00 +07:00
Alex Sharov
8ccae67447
savemdbx: better error msg(#4878) 2022-08-01 11:14:48 +07:00
Alex Sharov
bd4bed5933
fix 64kb pageSize page_full corner case (#4847) 2022-08-01 11:03:28 +07:00
ledgerwatch
2b517b7630
Erigon22 prototype to support BSC (#4867)
* Reduce workers and queue size

* Add traces and event logs

* Add chain flag

* Print

* Open consensus db as read only

* Use only one engine instance

* chainDb

* Display palia error

* Not to panic

* Not to exit

* Add syscall

* Print

* Pointer to TxTask

* Not register senders

* Print

* Relax check

* Skip system transactions

* increase workerCount again

* Remove print

* Change recon

* Fix types

* Skip system txs

* Print

* No rules for genesis commit

* Print genesis

* Print|

* Print

* Print

* Update

* Fix

* Remove print

* No print

* Support contract upgrades

* Use the same dif

* Print create2

* Fix

* Fix

* Print

* Hack iterate

* Print empty vals

* Fix hack

* Code hashes

* Code hashes

* Print

* No panic

* No panic

* Fix?

* another incarnation fix

* Remove print

* Remove print

Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
2022-07-31 21:54:23 +01:00
Alex Sharov
554d27468e
parity_listStorageKeys: *mdbx.MdbxCursor is not kv.CursorDupSort (#4858) 2022-07-29 09:13:48 +07:00
ledgerwatch
09c104803a
Split erigon2.2 and erigon2.3 prototypes (#4811)
* Split erigon2.2 and erigon2.3 prototypes

* Renaming

* Interruptible and resumable erigon22

* Always regenerate trie

* Introduce aggregator

* Fixes

* cleanup

* Fix lint

* Update to erigon-lib main

Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2022-07-28 12:16:37 +01:00
Alex Sharov
0db00957e8
Fix for a lot of pending transactions being dropped from newPendingTransactions (#4837) 2022-07-27 12:11:57 +07:00
Alex Sharov
b6ea28ea80
kv.Del() remove second parameter (#4832)
* save

* save

* save

* save

* save

* save

* save
2022-07-26 12:47:05 +07:00
Alex Sharov
3aac12a5f1
use PrioritizedSend method (#4830) 2022-07-26 10:37:51 +07:00
Alex Sharov
bc7f49bc1c
kv.Snapshots() server implementation (#4829) 2022-07-26 10:16:25 +07:00
Alex Sharov
790af5a62e
kv.Snapsthos() grpc method (#4827) 2022-07-26 09:44:53 +07:00