Repository navigation
Conversation
tamirms
force-pushed
the
tamirms/txhash-ga-format
branch
from
October 28, 2026 08:05
bbeefcc to
5471555
Compare
tamirms
force-pushed
the
tamirms/txhash-ga-format
branch
from
November 4, 2026 10:07
5471555 to
48a5564
Compare
tamirms
force-pushed
the
tamirms/txhash-ga-format
branch
2 times, most recently
from
November 4, 2026 19:12
ba0cae0 to
0a815ef
Compare
tamirms
force-pushed
the
tamirms/txhash-ga-format
branch
2 times, most recently
from
November 12, 2026 09:00
599f281 to
ebcdedd
Compare
tamirms
force-pushed
the
tamirms/txhash-ga-format
branch
3 times, most recently
from
November 12, 2026 13:32
9d00760 to
e6fb1ec
Compare
tamirms
force-pushed
the
tamirms/txhash-ga-format
branch
2 times, most recently
from
November 13, 2026 07:25
d791781 to
f9e1f89
Compare
tamirms
force-pushed
the
tamirms/txhash-ga-format
branch
from
November 13, 2026 07:50
f9e1f89 to
da9c6db
Compare
tamirms
force-pushed
the
tamirms/txhash-ga-format
branch
from
November 13, 2026 09:55
da9c6db to
f2e76de
Compare
tamirms
force-pushed
the
tamirms/txhash-ga-format
branch
from
November 13, 2026 11:38
f2e76de to
fad0ea5
Compare
tamirms
force-pushed
the
tamirms/txhash-ga-format
branch
from
November 13, 2026 12:34
fad0ea5 to
357547c
Compare
tamirms
force-pushed
the
tamirms/txhash-ga-format
branch
3 times, most recently
from
November 14, 2026 08:41
c7ba01b to
281bd33
Compare
tamirms
force-pushed
the
tamirms/txhash-ga-format
branch
from
November 16, 2026 07:51
281bd33 to
0dea352
Compare
tamirms
force-pushed
the
tamirms/txhash-ga-format
branch
from
November 16, 2026 10:29
0dea352 to
38387a7
Compare
tamirms
force-pushed
the
tamirms/txhash-ga-format
branch
from
November 16, 2026 13:17
38387a7 to
5203b42
Compare
A chunk's .bin now has the bytes of a streamhash sorted file: the STSF header with the payload size, the entry count and a metadata blob holding the chunk ID and the index secret, padded to 4096 bytes, then 19-byte records whose 3-byte payload is the ledger minus the first ledger of the chunk's index window. The window build reads the new layout and stores each payload as it is, and records the window's first ledger as the index's MinLedger, so the reader still adds MinLedger to a payload. The bytes match what the index build from sorted files writes, so it can replace this build without changing anything on disk. The index metadata layout does not change. Nodes re-ingest the tx-hash tier from scratch. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
tamirms
force-pushed
the
tamirms/txhash-ga-format
branch
from
November 16, 2026 21:10
5203b42 to
db5fc85
Compare
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.
A later change in this stack, "txhash: build the window index from the sorted .bin files, between ledgers", builds the tx-hash window index with streamhash's
BuildFromSortedFiles, which reads streamhash's sorted-file format. This changes the.binfiles to that format now, with rpc's own writer and reader, so the files a GA node writes stay the same when that build lands, and nodes keep their data..binis written. The backfill derives the base beside the chunk's secret and passes it iningest.Config, and the writer refuses a ledger below it.The getTransaction design describes the new layout.
Tests: the
.binlayout test, the backfill format pin and the shared test decoder check the new bytes, and a new test covers the writer refusing a ledger below the base. Writing the same chunks and building their window index with this change and with the stack's final code gives byte-identical files.Everyone upgrading to GA ingests from scratch, so there is no migration.
🤖 Generated with Claude Code