BOMBARCHIVE
Explore

A living reference collection. Written in the wiki, preserved in Git.

The archiveBitmap

OCI

OCI is an on-chain Bitmap index lineage for mapping District numbers to satoshi locations and, in later consumers, resolving the inscription associated with a District. The surviving public record is a sequence of raw index data, compressed lookup code, inscribed artifacts and later consumers rather than one timeless object.

3 June 2024: raw Bitmap index data

The earliest public OCI-related repository currently located is switch-900/BitmapOCI. Its parentless root commit, 9c719c5b0e52648f76fa76f38574b3840af04042, is dated 3 June 2024, 20:08:16 UTC and carries the message indexing. Its tree contains nine CSV files spanning 0-99999 through 800000-845844. switch-900 BitmapOCI root commit

This is direct evidence for a surviving public data lineage. It does not prove that no earlier private prototype, local dataset or inscription existed.

12 June 2024: the explicit OCI module

GitHub records ordengine/BitmapOCI as a fork of switch-900/BitmapOCI. On 12 June 2024, commit 52562ca158342cc063bea14da1805fd2bcd76816 added compressed page data, encoder.js, chisel.mjs and indexModule.mjs. The module identifies itself in source as the “bitmap on-chain index (OCI) module.” ordengine OCI module commit

The code also exposes the lookup design. encoder.js reads satoshi numbers from a source CSV, sorts them numerically, stores the first full sat followed by deltas, and retains the original positions required to reconstruct District ordering. indexModule.mjs reverses that process and exposes getBitmapSat(). That makes the compression scheme and District-to-sat lookup directly inspectable rather than merely described later.

The same commit includes a Chisel inscription helper. It is evidence of an intended inscription workflow, not proof that every local file or parameter in the helper was used unchanged for every published artifact.

Later on 12 June, the repository README called the project a “bitmap on-chain index test” and documented the 100k-chunk compression model. README creation · Compression documentation

12 June 2024: source CSVs and compressed pages do not have identical coverage

The first Git-tracked OCI compression snapshot is not a complete row-for-row reproduction of every CSV already present in that same repository tree. BOMB decoded the satoshi deltas and original-position arrays from the pinned 12 June JSON blobs, then matched the reconstructed District-to-sat pairs against the corresponding CSV rows. The surviving entries agreed in both comparisons, but the compressed pages contain fewer District positions.

  • For Districts 400,000–499,999, 400000-499999.csv has 100,000 rows. pages/4.json retains 81,566 positions (offsets 0–81,565), all matching their CSV satoshi numbers. The 18,434 Districts 481,566–499,999 are absent from that compressed blob. These are precisely the first 81,566 District offsets in CSV order, not the 81,566 lowest-sat records. Pinned source CSV · Pinned compressed page 4
  • For Districts 800,000–845,844, 800000-845844.csv has 45,845 rows. pages/8.json retains 40,000 distinct District positions. All retained pairs match the CSV; 5,845 CSV positions are absent from this compressed blob, spread through the range rather than constituting a single tail. The retained records are exactly the 40,000 lowest satoshi numbers in that 45,845-row CSV, and the omitted 5,845 are exactly the highest. The largest retained sat is 1954335530732184, while the smallest omitted sat is 1954335530733066, a strict numerical cutoff. This is an observable selection signature, not a recovered build instruction or proof of intent. Of the retained positions, 2,759 lie at District 840,000 or above. Pinned source CSV · Pinned compressed page 8

Together these two June compressed blobs represent 24,279 fewer District positions than their paired source CSVs. This is direct artifact comparison, not proof that those Bitmap claims were invalid, that the compression algorithm necessarily malfunctioned, or that later inscribed pages and Registry exports retained the same omissions. The checked-in encoder.js itself sorts every input row and serializes the full arrays without a 40,000-row limit; the observed page-8 cutoff is not explained by an explicit cap in that source file. Without a contemporaneous build log, this local converter cannot identify the input state or script used for each compressed page. Pinned encoder

1 July 2024: inscribed module and public record

On 1 July 2024, commit 2bb14b673e67d68bf83c421dcf45120eae1f32f8 updated the ordengine/BitmapOCI README with an explicit “inscribed module” link and nine Ordinals content URLs for data chunks. 1 July README update

A first-party Boppleton post from the same date remains an important public OCI record. Boppleton OCI announcement The correction is chronological rather than dismissive: 1 July is a public and inscription milestone, but no longer the earliest surviving development evidence.

The repository later records a concrete artifact update. On 20 September 2024, commit 0043e012e3b0daff09e598c199e39ab5ae9e5138, titled module update, changed the README in two places: the module pointer moved from numeric inscription 72156655 to content ID 840bc0df4ffc5a7ccedbee35e97506c9577160e233982e627d0045d06366e362i0, and the ninth data chunk changed from bb084ed0d70c336861e794c5a2d41a19df8b5531b51ffe71a868695c20cafed2i0 to bb986a1208380ec7db8df55a01c88c73a581069a51b5a2eb2734b41ba10b65c2i0. The first eight chunk URLs were unchanged in that commit. 20 September 2024 module update

This is direct source evidence that the published OCI artifact set changed after the July inscription milestone. BOMB therefore records the July and September snapshots separately instead of treating the current README as though it described the original inscribed release. The numeric inscription number in the July README is also a different kind of identifier from the later inscription ID/content path; the underlying July module bytes still need to be independently pinned. Current BitmapOCI README

20 September 2024: inscription-slot resolution enters the module

The README pointer change was paired with a substantive source change one minute earlier. Commit 8dbeb7cf48886aae1537d7b6a1dbd041cc6a9eda, dated 20 September 2024, 23:29:16 UTC, rewrote indexModule.mjs from a sat-location helper into a module that could also resolve a District's inscription ID. 20 September indexModule update

The earlier July-era source loaded local ./pages/0.json through ./pages/8.json and exposed getBitmapSat(). The September source instead points directly at the inscribed /content/… chunks, adds an optional origin parameter for hosts such as ordinals.com, and introduces getBitmapInscriptionId(). That resolver first obtains the stored sat, then calls /r/sat/<sat>/at/<index>. July-era module · September module

The crucial new input is an explicit satIndices table for Districts whose recognized claim is not inscription slot zero on the sat. The source includes examples such as 92871.bitmap → 1, 832385.bitmap → 4, 833121.bitmap → 8 and 834051.bitmap → 17. Its own header thanks @_lefrog for fixes and says “reinscriptions are now accounted for.” That sentence is contemporary first-party implementation commentary; the table and lookup code are direct source evidence. Neither, by itself, independently proves that every listed slot is chain-correct under every historical Bitmap ruleset.

The same source contains a range seam worth preserving rather than smoothing over. Its header labels the module 0-839,999.bitmap and getBitmapSat() logs an error above 839,999, but the function does not return at that guard; the module still carries a ninth page and the slot table contains entries for 840151, 841151, 842151 and 845151. BOMB records that as an internal source inconsistency pending reproduction, not as proof that those lookups fail or succeed in a particular deployment.

13 September 2025: a BNS materialization of OCI

A later downstream repository makes the OCI data lineage unusually concrete. On 13 September 2025, thebitmaptoshi/BNS committed createBNSFiles.js. Its OCI_PAGES array repeats the nine content IDs in the post-20-September-2024 ordengine/BitmapOCI data snapshot and appends a tenth page for the post-840,000 range. The script fetches those artifacts from ordinals.com, reconstructs the sat arrays, turns each nonzero entry into {sat, blockheight}, sorts by sat and writes BNS Registry/sat_*.txt files. BNS generator commit · Pinned generator source

This is a downstream materialization, not evidence that every added page or BNS row became part of the earlier ordengine/BitmapOCI release. That distinction is reinforced one day later by thebitmaptoshi/OBi: its 14 September OCI consumer carries the same ten content pointers, calls the last page a post-840k addition, and explicitly warns that the expanded 0–907k data is unvalidated rather than a source of truth. OBi OCI consumer, 14 September 2025

The materialized Registry is nevertheless useful for provenance. At the same 13 September BNS commit, 20923.bitmap appears as (641932685286218,20923) in the sat-sorted Registry. A later thebitmaptoshi/bitmap-indexer reconciliation names that identical sat as the losing “BNS OCI index” candidate for 20923.bitmap. That cross-repository join is direct evidence for at least one concrete BNS→OCI comparison path; Bitmap indexers and marketplaces keeps the remaining uncertainty about the validator run's exact Repo2 snapshot. BNS Registry tuple · Later reconciliation report

13 September 2025: the overlapping OCI page ranges

The BNS generator assigns zero-indexed OCI source page 8 a base District of 800000, but assigns its added page 9 a base of 840000. It appends nonzero rows from both pages without cutting off the source page 8 at District 839,999. That establishes an overlapping export procedure, not by itself an incorrect Bitcoin claim. BNS generator, pinned 13 September 2025

The overlap left a visible trace in the committed BNS Registry. A read-only census of all 102 pinned sat_*.txt files found 100 populated files with 9,070 tuples each and two empty placeholder files: 907,000 rows. Counting repeated identical (sat,District) pairs within each file gives 4,406 redundant rows. The filenames identify only one pair of sat ranges that touch, at sat 1953422600386453; both boundary files contain (1953422600386453,840169), adding one cross-file copy. Thus 4,407 redundant appearances of identical tuples are demonstrable in this snapshot, compared with the first appearance of each identical tuple. The filename intervals are relied upon to rule out other cross-file identical pairs. None of the 100 populated files contained two different sats for one District within that same file; conflicting District-to-sat assignments across distinct files have not been exhaustively compared. Registry at pinned commit · Endpoint file A · Endpoint file B · Earlier 772-repeat cluster

The source generator also contains a fixed output ceiling: CHUNK_SIZE = 9070, CHUNK_COUNT = 100, and a loop that slices only those 100 chunks after sorting by sat. That permits at most 907,000 emitted tuples. All 100 populated sat-range files contain 9,070 rows, so this particular export fills the programmed ceiling. The 907,000-row census is complete for the committed files, but it does not prove the generator exhausted its in-memory OCI input: if it held more than 907,000 nonzero source pairs, any extras after the sat sort would not be written. Whether truncation actually occurred is unresolved until all ten referenced source pages are decoded and compared against the output. Pinned BNS generator, chunk constants and output loop

An earlier Git-tracked ordengine/BitmapOCI ninth page dated 12 June 2024 encodes exactly 40,000 populated positions; 2,759 are at offsets 40,000 or greater, ending at offset 45,844 (District 845,844). That count applies to the June source snapshot; it is not a byte-for-byte verification of the later inscribed page. The September 2025 OBi consumer instead routes Districts 840,000 and above to the tenth page and explicitly warns its expanded data is unvalidated. An exported Registry and a consumer's lookup path are not interchangeable evidence. June 2024 page data · September 2025 OBi consumer

A separate boundary detail survives in that September 2025 OBi source: getBitmapSat() warns only for a District greater than 907,000, while its page-selection condition is 840000 <= n < 907000. At exactly District 907,000, the code therefore selects page 9 by its fallback rule and attempts offset 67,000, even though the module header describes coverage only through 906,999. The warning branch also logs without returning. This is a source-level guard/range inconsistency, not an independently reproduced end-user failure. OBi source, lines 72–90

There is also a difference within the September 2025 OBi consumer. getBitmapInscriptionId() obtains a lookup slot through getBitmapSatIndex() and queries /r/sat/<sat>/at/<index>. But getBitmapInscriptionAndType() calculates that slot as atIndex and never uses it: it instead queries slots 0 and -1, reports whether their inscription IDs match as isBitmap, and returns the -1 result. The two helpers therefore implement different inscription-selection rules. This was not merely a dormant exported helper: the same-revision redirect.js explicitly uses getBitmapInscriptionAndType() to choose a destination. When isBitmap is true, it navigates to an Ordinals inscription page; otherwise it sends the chosen ID to a rotating content host. This is a traceable consumer code path, not a verified count of wrong resolutions or a judgement about which inscription ought to win. September 2025 OBi helper implementations · Same-revision OBi redirect entry point

The April 2026 eleven-page consumer later handles the seam differently: its assembly table caps source page 8 at District 839,999 and gives the newer 840,000–906,999 page precedence. That is a difference in downstream processing, not proof that anyone repaired the September 2025 BNS Registry. Eleven-page consumer, pinned source

20 April–7 October 2026: the 942k legacy boundary becomes explicit

A later public consumer preserves the next range extension much more explicitly than the September 2025 BNS materialization. On 20 April 2026, sixoBitmap/114588.bitmap committed a reader whose own source labels its input an “11-page indexer, bitmaps 0–941,999.” It keeps the nine earlier OCI content pointers, uses b907b51a…i0 as a JSON range page for Districts 840,000–906,999, and adds b942b647…i0 for 907,000–941,999. Its assembly table deliberately limits the older page 8 to 800,000–839,999 and lets the two range pages supply the overlapping later heights. 20 April 2026 11-page consumer — direct source

This proves that an eleven-page OCI-derived data set covering through 941,999 was in public Git source by April 2026. It does not by itself establish who generated the two post-840k pages, when those inscriptions were created, or whether ordengine/BitmapOCI ever published them as releases.

On 8 August 2026, sixoBitmap/bitmap-chat gives the extended module a concrete identifier: 942b5886158d57fc70cb8fb7d9bd4d37aa95b8b145be1a351326336b087262dbi0. Its source calls that inscription the “second post-840k addition”, describes eleven inscribed pages, and routes page 9 (840,000–906,999) and page 10 (907,000–941,999) as explicit ranges that override the older 100k-page layout where they overlap. The same file repeats the warning that the post-840k data is unvalidated and may contain discrepancies. Those labels are contemporary downstream implementation commentary; the page routing and inscription pointer are direct code evidence. Bitmap Chat OCI consumer — pinned source

A public implementation on 7 October 2026 then turns 942,000 into an architectural boundary rather than merely a coverage number. switch-900/bitmap-onchain-sdk v1.0.2 imports that exact 942b5886…i0 inscription as “Legacy <942k Bitmap OCI” and sets OLD_OCI_LIMIT = 942000. Below the boundary, the SDK can ask legacy OCI for a candidate but independently verifies the candidate before accepting it; if the candidate is absent or fails verification, the code can fall back to scanning Bitcoin blocks. At and above the boundary, canonical discovery is performed through the live block-scan path. Bitmap SDK v1.0.2 source — direct code · v1.0.2 merge commit

The same SDK documents a bounded resumable scanner for post-OCI or otherwise unknown Districts. Scan progress is tied to the hash of the checkpoint block; if that hash changes, the cursor is discarded and scanning restarts from the District height rather than trusting progress across a reorganisation. Its recursive chain inputs include /r/block/<height>. Bitmap SDK documentation — direct repository record

7 October 2026: checking an OCI candidate is not proving it was first

The pinned switch-900/bitmap-onchain-sdk v1.0.2 implementation provides a useful qualification to its legacy-OCI bootstrap. For District numbers below 942000, getBitmapInscriptionId() asks the eleven-page OCI module for an inscription ID, then passes that result to verifyBitmapCandidate(). That helper looks up the candidate's genesis height, obtains the parsed inscription from that block, and checks that the claim was not made before its District block. Its validateRawTextClaim() predicate rejects incomplete reveals, the presence of a content-encoding field or a delegate, and any body whose raw hexadecimal bytes differ from the UTF-8 bytes of exactly N.bitmap. Pinned SDK v1.0.2 source — direct implementation record

When that candidate passes, both the ordinary resolver and the bounded scanBitmapClaim() path accept the OCI-supplied ID without first replaying all blocks from the District height to the candidate's genesis height. The bounded API even labels this result canonical: true and complete: true. '''That is verification of the selected candidate under this SDK's local predicate, not an independent proof that there was no earlier eligible claim.** The full block-search fallback starts when the OCI candidate is absent or fails the predicate. Setting forceRefresh: true bypasses some storage and cache shortcuts, but does not bypass the OCI candidate: both the bounded scanner and the ordinary resolver still accept an OCI-selected inscription when it passes local verification. The flag is not an independent chronological audit. No misselected District has been demonstrated by this source inspection alone. Candidate verification, bounded scan and resolver — direct source; interpretation noted

Another comparison needs its own label. The SDK predicate compares raw UTF-8 body bytes, but its Bitmap validation path contains no explicit MIME/text/plain check and no positive-inscription-number gate. The December 2023 OPI Bitmap query, by contrast, explicitly selected text/plain content, while the inspected 2026 OPI reader rejects negative inscription numbers as well. These are observable differences between **specific implementations''', not proof that a non-text/plain or cursed District has won in production, or that either code path alone defines the Bitmap standard for every historical period. The SDK's underlying block parser and any real service result would also need testing before claiming an end-to-end discrepancy. December 2023 OPI Bitmap query · August 2026 OPI Bitmap reader · SDK claim predicate

16–17 October 2026: Bitmap Clips uses OCI as a historical candidate source

The public bitlodo/bitmap-clips repository is a downstream creative application, not an OCI generator. Its README attributes Bitmap lookup to Boppleton's on-chain index and links two on-chain reference inscriptions. The pinned resolver defines OCI_LIMIT = 942000 and lists eleven page IDs. Below that boundary it decodes the inscribed pages, obtains a sat and slot, and asks Ordinals recursion for the inscription at that slot. At and above the boundary it scans /r/block/<height> from the District height through the current tip. Project README · Eleven-page OCI consumer · Resolver and block-scan implementation

The README explicitly warns that its historical OCI path verifies the returned content but does not prove that the candidate is the first valid claim or establish ownership. The code-level comparison adds a further boundary: its shared predicate checks completeness, exact body bytes, absence of content encoding and absence of a delegate, but does not inspect MIME type. Its synthetic block-scan test accepts a matching envelope created with no tag fields. The 23 October 2026 Bitmap README later made text/plain an explicit District/Parcel check; Bitmap Clips' inspected source predates that publication, so this is a dated implementation comparison rather than a claim about what its author was expected to enforce on 17 October. Synthetic envelope and block-scan test · 23 October Bitmap rules

The 17 October repository commit changes export/rendering files rather than the OCI or Bitmap resolver. A GitHub Pages build workflow is present, but the README supplies no deployed URL and this pass did not verify a successful public deployment. The source is evidence that an independent application consumed the OCI lineage, not proof that it was Boppleton's reported live OCI program or that every indexed row was correct. Bitmap standard records the rule comparison; Bitmap platforms records the project without promoting it to a verified live service.

Static OCI, live OCI and consumers

BOMB keeps three layers separate:

Static / historical OCI
The June 2024 data/module lineage and its later inscribed module/data pointers. Every snapshot has a covered range and specific artifacts.
Live OCI
A later architecture reported by the Bitmap creator as bootstrapping historical OCI and scanning newly mined or recent blocks through /r/block. The exact live build, bootstrap boundary and update-selection rule remain unresolved.
Consumers and extensions
Applications can load OCI data while adding their own caches, address resolution, inscription-slot overrides or “latest content” behaviour. A consumer's behaviour should not automatically be promoted into the historical OCI rule.

A dated creator-direction record from 5 October 2026 explicitly treats static OCI, reported live OCI, OPI and marketplace/index behaviour as separate audit layers. Creator direction, 5 October 2026

Why OCI matters

OCI is a useful historical counterweight to treating one server database as the only possible Bitmap index. Its surviving Git history also makes a broader point: an “on-chain index” is still a lineage of generated data and code with version boundaries.

For archive work, durability and correctness are separate questions. BOMB therefore asks what mapping was generated, by which rules, over which range, which module/data snapshot a consumer loaded, and what extra behaviour that consumer added.

Open research

Open question
Recover the generation method and provenance behind the 3 June 2024 switch-900/BitmapOCI CSVs, then independently verify representative District-to-sat rows.
Open question
Resolve the 1 July 2024 numeric inscription reference 72156655 to its inscription ID and preserved module bytes, then compare it directly with the 20 September 840bc0…i0 module update.
Open question
Identify whether Boppleton's reported live-OCI program is related to, an ancestor of, or independent from the 2026 switch-900/bitmap-onchain-sdk hybrid implementation. Recover the live program's exact inscription/build, bootstrap watermark and update-selection rule before merging the two lineages.
Open question
Recover inscription metadata, parentage and generator provenance for the post-840k pages b907b51a…i0 (840,000–906,999) and b942b647…i0 (907,000–941,999), and pin the inscription date/history of the 942b5886…i0 eleven-page module. Downstream code proves use and range semantics, not creator attribution or an ordengine/BitmapOCI release.
Open question
Compare versioned OCI outputs with OPI and marketplace mappings only at aligned chain coverage, keeping current ownership/location and sale policy as separate fields.