Skip to content

Conversation

@DiogoSantoss
Copy link

@DiogoSantoss DiogoSantoss commented Dec 11, 2025

Related to ObolNetwork#376

@DiogoSantoss DiogoSantoss self-assigned this Dec 11, 2025
@OisinKyne OisinKyne merged commit 424050e into main Dec 11, 2025
3 checks passed
@OisinKyne OisinKyne deleted the diogo/reduce-disk-usage branch December 11, 2025 16:58
Comment on lines +36 to +39
--Sync.AncientBodiesBarrier=${NETHERMIND_ANCIENT_BODIES_BARRIER:-20000000}
--Sync.AncientReceiptsBarrier=${NETHERMIND_ANCIENT_RECEIPTS_BARRIER:-20000000}
--History.Pruning=${NETHERMIND_HISTORY_PRUNING:-Rolling}
--History.RetentionEpochs=${NETHERMIND_HISTORY_RETENTION_EPOCHS:-82125}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
--Sync.AncientBodiesBarrier=${NETHERMIND_ANCIENT_BODIES_BARRIER:-20000000}
--Sync.AncientReceiptsBarrier=${NETHERMIND_ANCIENT_RECEIPTS_BARRIER:-20000000}
--History.Pruning=${NETHERMIND_HISTORY_PRUNING:-Rolling}
--History.RetentionEpochs=${NETHERMIND_HISTORY_RETENTION_EPOCHS:-82125}
--History.Pruning=Rolling

Comment on lines +36 to +39
--Sync.AncientBodiesBarrier=${NETHERMIND_ANCIENT_BODIES_BARRIER:-20000000}
--Sync.AncientReceiptsBarrier=${NETHERMIND_ANCIENT_RECEIPTS_BARRIER:-20000000}
--History.Pruning=${NETHERMIND_HISTORY_PRUNING:-Rolling}
--History.RetentionEpochs=${NETHERMIND_HISTORY_RETENTION_EPOCHS:-82125}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
--Sync.AncientBodiesBarrier=${NETHERMIND_ANCIENT_BODIES_BARRIER:-20000000}
--Sync.AncientReceiptsBarrier=${NETHERMIND_ANCIENT_RECEIPTS_BARRIER:-20000000}
--History.Pruning=${NETHERMIND_HISTORY_PRUNING:-Rolling}
--History.RetentionEpochs=${NETHERMIND_HISTORY_RETENTION_EPOCHS:-82125}
--History.Pruning=Rolling

Comment on lines +48 to +58
# Nethermind ancient barrier allows you to specify how many old block bodies and receipts you want to store.
# Recommended: 20000000 for mainnet.
NETHERMIND_ANCIENT_BODIES_BARRIER=20000000
NETHERMIND_ANCIENT_RECEIPTS_BARRIER=20000000

# History pruning (EXPERIMENTAL as of v1.33+).
# History.Pruning options: Disabled (default), Rolling, UseAncientBarriers.
# Keeps approximately 1 year of history (82125 epochs minimum for mainnet).
NETHERMIND_HISTORY_PRUNING=Rolling
NETHERMIND_HISTORY_RETENTION_EPOCHS=82125

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove those in all 3.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants