Skip to content

Tags: bitcoin-kernel/kernel

Tags

v0.0.2

Toggle v0.0.2's commit message
kernel: fold the engine into packages/kernel (pinned snapshot of sche…

…ma@b213128)

packages/kernel is now @bitcoin-kernel/kernel — a self-contained, CDN-servable
ESM build of the consensus engine: codec/ (verbatim from bitcoin-desktop/schema),
schema/*.js (JSON-LD → ESM modules, browser-importable with no fetch), wasm/
(secp + a loader fixed to fetch its wasm module-relative via import.meta.url, so
it works from the CDN), and an index.js barrel (createKernel()).

Generated by tools/sync-kernel.mjs — an explicit, reviewable regeneration step
that replaces build.js's silent copy (the staleness footgun). schema stays the
canonical dev repo; this is a pinned vendor, updated on purpose.

Includes the PR#71 OP_CODESEPARATOR fix (codeSepOffset present). Smoke-tested:
createKernel() wires codec/script/interpreter/headers/blocks/spv + schemas.
Next: cut the website over to import the kernel from the CDN, retire build.js's
engine copy (keep its index.html generation).

v0.0.1

Toggle v0.0.1's commit message
Version 0.0.1 (we start low and stay in 0.0.x for a long while)