The snippets, ordered obscure → unmistakable
- Snippet 1(Generic uint helper)
- Snippet 2(Hash double-SHA256)
- Snippet 3(Script interpreter)
- Snippet 4(Consensus params)
- Snippet 5(Coinbase / block reward)
- Snippet 6(chainparams genesis)
Why this project gives itself away
The give-away. Snippet 1 is generic endian shuffling. Snippet 2's CHash256 (double-SHA256) and uint256 types are crypto-ish. Snippet 3's `EvalScript` + opcodetype is Script — Bitcoin's stack-based VM. Snippet 4 names BIP heights, SegwitHeight, nPowTargetSpacing — pure Bitcoin Core consensus. Snippet 5 is the famous GetBlockSubsidy with the 50 BTC initial reward and 64-halving cap. Snippet 6 is the Times headline Satoshi embedded in the genesis-block coinbase — one of the most recognisable strings in software history.
How a Framed puzzle is built
Every Framed project ships exactly six snippets, hand-ordered from deeply obscure to unmistakable. The first snippet must be plausible for a dozen codebases — a generic loop, a small utility, a comment that could appear anywhere. The last snippet carries a project-specific tell: a function name, a code-comment idiom, a file header, a build invocation. Between them sit four snippets that gradually narrow the field. Reading them in order is half the puzzle: a returning Framed player learns to triangulate on indentation conventions, comment voice, naming, and the small-but-distinctive choices that betray a project's era and community.