Mark Holt
19bc328a07
Added db loggers to all db callers and fixed flag settings ( #9099 )
...
Mdbx now takes a logger - but this has not been pushed to all callers -
meaning it had an invalid logger
This fixes the log propagation.
It also fixed a start-up issue for http.enabled and txpool.disable
created by a previous merge
2023-12-31 17:10:08 +07:00
ledgerwatch
6b6c0caad0
Snapshots of Bor events ( #7901 )
...
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro-2.local>
Co-authored-by: Alex Sharp <alexsharp@alexs-mbp-2.home>
2023-08-18 17:10:35 +01:00
Alex Sharov
e5023775aa
Enforce blockReader interface ( #7737 )
...
- breaks dependency from staged_sync to package with block_reader
implementation
- breaks dependency from snap_sync to package with block_reader
implementation
- breaks dependency from mining to txpool implementation
2023-06-15 13:11:51 +07:00
Alex Sharov
afd8ea94d0
e3: move domains to tables.go ( #7707 )
2023-06-11 21:12:05 +07:00
Alex Sharov
279e1bec33
use blockReader as service-provider of RoSnapshots ( #7584 )
2023-05-26 17:12:33 +07:00
Alex Sharov
4d0dee6fb0
Introduce BlockWriter object (txsV3 step 0) ( #7559 )
2023-05-22 15:49:21 +07:00
ledgerwatch
b382f96f6c
Introduce logger into etl ( #7537 )
...
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro-2.local>
2023-05-18 21:20:07 +01:00
Alex Sharov
ded8283df7
erigon backup: v0 of sub-command ( #7396 )
2023-04-27 10:42:12 +07:00
Alex Sharov
417a437584
Break dependency of ethcfg
package to core
/consensus
/etc... move genesis struct to 'types' package ( #7206 )
2023-03-29 07:27:06 +00:00
Alex Sharov
9001f668a7
go 1.19 atomics ( #7164 )
2023-03-23 05:11:28 +00:00
Alex Sharov
52cb720cdc
e3: remove settings table ( #7155 )
2023-03-22 05:21:17 +00:00
alex.sharov
94a3257ec7
e4: reset state
2023-03-22 12:06:48 +07:00
Andrew Ashikhmin
56a3844656
Drop Default from GenesisBlock* functions ( #7147 )
...
Small cosmetic changes and clean-ups
2023-03-20 15:44:22 +00:00
alex.sharov
086398777e
fix headers reset
2023-03-03 09:53:01 +07:00
nanevardanyan
cf9ee425ed
check for TransactionsV3 flag ( #6988 )
2023-03-01 02:13:12 +00:00
ledgerwatch
ee83447fa1
CL lightclient to create memdb in the tmpdir which gets cleaned up on… ( #6829 )
...
… startup
---------
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro-2.local>
2023-02-11 20:44:51 +00:00
Alex Sharov
82c478a419
e3: getLogs on iterators ( #6683 )
2023-01-25 16:29:41 +07:00
hexoscott
7dcbfbc283
reference hash, address, and chain config from lib ( #6536 )
2023-01-13 18:12:18 +00:00
Willian Mitsuda
c738045557
Fix err being ignored ( #6572 )
...
err is being ignored, so it silently fails reset when new table is not
whitelisted
2023-01-13 17:46:32 +07:00
Alex Sharov
c38868cc46
better pagesize error message ( #6497 )
2023-01-04 13:07:46 +07:00
Alex Sharov
0483fc5539
integration: cancel warmup ( #6494 )
2023-01-03 12:51:00 +07:00
alex.sharov
f0be579fd1
warmup: 100K prefixes
2023-01-02 10:50:08 +07:00
alex.sharov
8ffdda14f2
warmup: million prefixes
2023-01-02 10:47:06 +07:00
Alex Sharov
9159f7e8aa
"integration stage_exec --warmup" ( #6471 )
2022-12-30 15:44:50 +07:00
Alex Sharov
b0af04f2df
bsc: incrementally calc and store all old snapshots. slower initial stage_snapshots, but faster restart during initial sync ( #6457 )
2022-12-30 12:44:54 +07:00
Alex Sharov
fc71d441a6
mdbx_to_mdbx better logging ( #6455 )
2022-12-28 13:27:42 +07:00
Alex Sharov
fa6f6038e7
kv: tx.Prefix method ( #6441 )
2022-12-26 17:58:21 +07:00
Giulio rebuffo
173d11c43c
removed retry logic from Erigon-CL ( #6389 )
2022-12-20 22:11:08 +01:00
Alex Sharov
0ce84e41e1
integration: warmup staeg ( #6388 )
2022-12-20 22:59:23 +07:00
alex.sharov
dd9f117a0c
save
2022-12-20 22:27:11 +07:00
Alex Sharov
dfa6505f93
e3: kv/temporal prototype ( #6367 )
2022-12-19 15:38:54 +07:00
Alex Sharov
9b65c533c9
e3: optimize incremental hashstate ( #6179 )
2022-12-03 12:23:01 +07:00
Giulio rebuffo
1fd3a01edf
Added Consensus Layer staged sync ( #6183 )
2022-12-03 03:16:26 +01:00
Alex Sharov
c7c445e167
e3: reset without race ( #6177 )
2022-12-02 11:46:25 +07:00
Alex Sharov
509a8d9b50
e3: reset table ( #6176 )
2022-12-02 09:17:05 +07:00
alex.sharov
5d9e74d39c
save
2022-12-01 13:47:35 +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
cb60382e6d
erigon3: rename "history.v2" to "history.v3" to avoid naming miss-match with "erigon3" ( #5519 )
2022-09-26 10:54:42 +07:00
Alex Sharov
9fb8a190bc
erigon22: folder snapshots/history ( #5351 )
2022-09-18 17:41:01 +07:00
ledgerwatch
43f592ed0e
Fixes for trace_block ( #5402 )
...
* Fixes for trace_block
* Print
* Print
* extra bodies
* extra bodies
* Add canonical check
* First fix for bodies mismatch
* More cleanup
* Advance progress
* Reset snapshots in integration
* Cleanup
* Way to reset snapshots stage
* Not reset sequence if not needed
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2022-09-17 12:53:27 +01:00
Alex Sharov
6df6640868
erigon22: prune - check key existance ( #5059 )
2022-08-15 14:36:57 +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
Alex Sharov
25d85d88c5
state erigon22: use right db ( #5028 )
2022-08-12 21:45:09 +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
Andrew Ashikhmin
9b8888d797
Delete bad blocks on unwind ( #4529 )
...
* Delete bad headers
* Delete bad bodies
2022-06-24 15:52:04 +02:00
Alex Sharov
a53642b4bf
datadir.Dirs configuration object to group dir config ( #4387 )
2022-06-07 10:24:50 +07:00