From bb745a77eed9251665868319f2fbdff649f0b3fb Mon Sep 17 00:00:00 2001 From: "alex.sharov" Date: Wed, 6 Nov 2024 10:15:40 +0700 Subject: [PATCH] save --- README.md | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 038cc2f8f3d..db5c9058e6f 100644 --- a/README.md +++ b/README.md @@ -205,18 +205,18 @@ du -hsc /erigon/snapshots/* - Initial sync does download LatestState and it's history - no re-exec from 0 anymore. - ExecutionStage included many E2 stages: stage_hash_state, stage_trie, log_index, history_index, trace_index -- E3 can execute 1 historical transaction - without executing it's block - because history/indices have - transaction-granularity, instead of block-granularity. -- E3 doesn't store Logs (aka Receipts) - it always re-executing historical txn (but it's cheaper then in E2 - see point - above). +- Per-Transaction granularity of history (Erigon2 has per-block). Means: + - Can execute 1 historical transaction - without executing it's block + - `debug_getModifiedAccountsByNumber` - may return more accounts. If account X changed value V1->V2->V1 within 1 + block (but different transactions) + - Erigon3 doesn't store Logs (aka Receipts) - it always re-executing historical txn (but it's cheaper then in + Erigon2 - because per-transaction history granularity) +- Validator mode: added. `--internalcl` is enabled by default. to disable use `--externalcl`. +- `--prune` flags changed: default `--prune.mode=archive`, FullNode: `--prune.mode=full`, MinimalNode (EIP-4444): + `--prune.mode=minimal`. - Restart doesn't loose much partial progress: `--sync.loop.block.limit=5_000` enabled by default - `chaindata` is less than `15gb`. It's ok to `rm -rf chaindata`. To prevent it's grow: recommend `--batchSize <= 1G` - can symlink/mount latest state to fast drive and history to cheap drive -- `--internalcl` is enabled by default. to disable use `--externalcl` -- `--prune` flags changed: default `--prune.mode=archive`, FullNode: `--prune.mode=full`, MinimalNode (EIP-4444): - `--prune.mode=minimal`. -- `debug_getModifiedAccountsByNumber` - may return more accounts. If account X changed value V1->V2->V1 within 1 block ( - but different transactions) ### Logging