BOMBARCHIVE
Explore

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

The archiveBitmap

Old revision: OCI

Pin BNS OCI reconciliation provenance

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

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

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 the exact live-OCI inscription/build, bootstrap watermark and update-selection rule.
Open question
Recover the provenance of the tenth post-840k OCI content page used by the September 2025 BNS/OBi consumers, and determine whether it was ever published as part of an ordengine/BitmapOCI release or only as a downstream extension.
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.