block_archive plugin: irreversible blocks in 10k range files - #170
Merged
Merged
Conversation
… CLI (info/get/search/export) - Restore block-log-reader/viewer (dropped with .qoder/) under programs/util/block-log as .cjs - Fix DLT head block: the 8-byte index header was counted as a block, so no block was found - Decode operations 64..105 from op-layouts.json, generated from viz-js-lib serializers - block-archive.cjs reads block_archive plugin range files: info, get, search, export (JSONL) - Docs en/ru: block archive plugin and tools
…s the node returns them
- plugins/block-archive: enabling, options, sealing, file format, start point, restarts, error behaviour (stops instead of writing a hole), disk usage - storage/block-log-tools: block-archive.cjs info/get/search/export, filters, viewer, operation coverage and op-layouts regeneration - sidebar entries, plugin overview row, block-log page points to both - plugin comment: a stalled archive stays stopped after restart
Byte-for-byte concatenation with rebased offsets, refuses gaps and existing output. Lets a node restore its block log from the archive; state still comes from a snapshot or seeds. Docs en/ru/zh.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Non-consensus plugin. Copies every irreversible block into
<data-dir>/block-archive/blocks-<first>-<last>.log(+.log.index, dlt_block_log layout), one file per range ofblock-archive-rangeblocks (default 10000). The range in progress lives inpartial/and is moved to the top directory once its last block is irreversible, so readers only see complete, immutable files. Errors stop archiving with an elog and never affect block application.Enable:
plugin = block_archive. Options:block-archive-dir,block-archive-range.🤖 Generated with Claude Code