Bitcoin: I'm retarded. ASM client/server project in the works A Bitcoin node for Linux built entirely from AI-generated x86-64 assembly code is under active development, with all security-critical crypto (SHA-256, secp256k1, ECDSA) hand-written in assembly by an AI. The project has passed internal AI-driven security review and multiple test vectors, but has not been audited by any independent human reviewer, and the developers warn it is untrusted and dangerous, not to be run with real funds or on production machines. This is actively developed, highly experimental software.It implements Bitcoin node functionality as hand-rolled x86-64 assembly produced by an AI. It has NOT been audited by any independent human reviewer. The project has gone through multiple rounds of AI-driven security review see validation/SECURITY AUDIT.md , and issues found that way get fixed as they come up — but that internal process is not a substitute for independent human sign-off, and no such review has happened yet.You should treat this code as untrusted and dangerous.A bug in consensus, cryptographic, or networking logic can cause loss of funds, chain divergence, resource exhaustion, or exposure of your machine to the network. Donotrun it with real funds, on a production machine, or on an internet-exposed host, and do not rely on it for any security-sensitive purpose — until it has undergone an independent human security audit. Use at your own risk. A Bitcoin node for Linux built as 100% AI-generated machine code — every line of assembly is authored by an AI assistant, none by a human. The security-critical crypto SHA-256, secp256k1 field/point/scalar/ECDSA is written directly in x86-64 assembly. Delivered and verified: SHA-256 core asm/sha256.asm — passes the canonical FIPS-180-4 vectors plus the multi-block and extra-length-block padding cases Bitcoin requires. secp256k1 field arithmetic asm/secp256k1 fe.asm — fe add , fe sub , fe mul 256-bit multiply + secp256k1-prime reduction , verified against 24 fixed vectors and 50,000+ random cases vs Python's big-int oracle. secp256k1 point / scalar / ECDSA asm/secp256k1 point.asm , asm/secp256k1 scalar.asm , asm/secp256k1 ecdsa.asm — Jacobian point ops, scalar arithmetic mod n, and low-S ECDSA signature verification, all verified against a Python big-int oracle. Node-layer hashing asm/bitcoin hash.asm — sha256d , block hash , diff target , pow check , and merkle root , verified against the genesis block, fixed vectors, and a Python oracle 10/10 assertions in test block . Node-layer tx parser asm/bitcoin tx.asm — tx parse deserializes a transaction version, varint counts, inputs, outputs, locktime and ALSO skips the SegWit BIP141 witness stack, so it walks both legacy and modern on-wire txs and returns the full serialized length. tx txid out32, tx, txlen, buf, buflen rebuilds the unwitnessed form and returns the BIP141 txid. Verified against the serialized genesis coinbase 18/18 in test tx , cross-checked against a clean Python walker, and validated on REAL mainnet blocks: the community cons verify accepts both pre-SegWit block 400000 and SegWit-era block 962043. P2P networking core asm/bitcoin net.asm — raw-syscall POSIX sockets plus the Bitcoin message framer magic + command + length + SHA-256d checksum . Verified offline 19/19 assertions in test net and against a live Bitcoin peer version/verack handshake succeeded, live handshake.c . P2P message codecs asm/bitcoin p2p.asm — getheaders / getdata / ping builders and a headers parser, byte-exact vs validation/p2p oracle.py ; the whole IBD header-download path is proven end-to-end as machine code test p2p offline + fakepeer headers loopback IBD test . Block consensus asm/bitcoin cons.asm — cons verify validates a full block in machine code: PoW + per-tx parsing + coinbase-first + merkle-root recheck over the txids. Verified against a Python-built 2-tx block test cons , 6/6 : valid accepted root matches the oracle , and bad merkle / trailing garbage / truncation / non-coinbase / over-cap all rejected. Persistent header chain asm/bitcoin headers.asm — a restart-safe, positional append-only store of 80-byte header, block hash pairs headers.dat , 112 B/entry . hst init/reload/append/get at/count verified by test headers on-disk layout, reload resume, chain continuity . Paged headers-first IBD asm/bitcoind.asm node ibd headers — the persistent download loop: repeatedly fetch a 2000-header headers page at the running locator, verify chain continuity for every header, compute each block hash, persist it, and advance the locator to the new tip; stops on a short/empty page. Verified by test ibd headers over a real loopback socket: a 2500-header chain full page + short page , locator advance to tip, restart-resume, tip detection, and rejection of a tampered chain. Block-body download off the persisted header chain asm/bitcoind.asm node ibd blocks — the second half of full IBD: walks every stored header in the header store, requests its block via getdata, validates it PoW + merkle + tx walk via cons verify , re-derives the block hash and requires it to equal the stored header hash wrong-block guard , and persists it. Verified by test ibd blocks over loopback 4-block chain stored byte-exact, plus a negative case rejecting a peer that serves the wrong body . Full initial-block-download as one assembly pass asm/bitcoind.asm node ibd — chains node ibd headers persist the whole header chain from genesis in 2000-header pages then node ibd blocks walk every stored header - getdata - cons verify + re-derived-hash guard - store over a single peer connection. Verified by test ibd full over a real loopback socket: a 1200-block chain downloaded, validated and stored byte-exact in one call — the entire headers-first IBD tail as machine code. Node CLI asm/bitcoin cli.asm — cli main answers queries in pure machine code over the persistent store: getblockcount , getbestblockhash , getblockhash