Deadpool encumbers FACT transaction outputs with a divisor condition and an announcement commitment. A claim transfers bounty value; its preceding announcement burns separate coins.
Reviewed source: e224c5277, version fields 6.0.43; documentation review December 2, 2026. This is a descriptive engineering reference. The applicable implementation and validated chain state determine active behavior; release publication alone does not prove activation.
These are the reference formats generated by rpc/deadpool.cpp and recognized by Solver:
entry scriptPubKey:
<Serialize(N)> OP_CHECKDIVVERIFY OP_DROP OP_ANNOUNCEVERIFY OP_DROP OP_DROP OP_TRUE
announcement scriptPubKey:
OP_ANNOUNCE <32-byte claimHash> <Serialize(N)>
claim scriptSig for each bounty input:
<32-byte claimHash> <Serialize(p)>
Serialize is CScriptBignum::Serialize: little-endian magnitude with Script sign handling, including a positive sign-padding byte when needed. It is not decimal text, fixed-width PoW factor bytes or generic big-endian RSA encoding. deadpoolid is single SHA256 of Serialize(N); RPC hash display uses the inherited uint256::GetHex conventions.
Let S be the sole payout script. MakeClaimHash constructs:
claimHash = SHA256(SHA256(Serialize(p)) || SHA256(S))
There is no salt or nonce in that formula. The announcement publishes N and this commitment. A claim reveals p; Script checks the commitment against the actual output script. Binding the payout script is intended to prevent redirection of an observed claim, but does not stop an independent solver from making a competing announcement.
CheckDeadpoolInteger requires a valid positive integer other than 0 or 1, with bit length 160 through 4,159 inclusive. Output validation additionally compares against canonical reserialization. The upper number is 520*8-1, reserving a sign bit; 4,196 is incorrect. No 180-bit default minimum was found in this revision. Solver also has script recognition/size requirements; satisfying the standalone integer checker is not sufficient to guarantee a usable entry/announcement transaction.
In particular, the announcement recognizer bounds the entire script to 2+520+32 bytes. Its push opcodes and fields consume part of that bound. Maintainers should reconcile the maximum constructible announcement with the advertised integer-checker ceiling before promising end-to-end support at 4,159 bits. PoW's 1,023-bit function bound is unrelated.
OP_CHECKDIVVERIFY permits one divisor check per script execution and requires valid p>1, valid positive N, p!=N and N mod p=0. It does not require prime factors, complete factorization, smallest-factor ordering or equal bit lengths. A qualifying target may have many prime factors. OP_ANNOUNCEVERIFY checks the commitment, and CheckClaimer requires exactly one transaction output.
For mainnet, parameters are maturity m=100, validity v=672, minimum recognized burn 1,000,000 base units. At target claim height H, DeadpoolClaimIsAnnounced searches:
max(1, H-(m+v)) <= announcement_height <= H-m
CAnnounceDB::ClaimExists uses inclusive comparisons. Announcement age 100 through 772 inclusive can therefore qualify. For an announcement at height 200, claims can qualify at heights 300 through 972, subject to all other rules. The maturity delay at nominal 30-minute spacing is 50 hours; maximum age is 16 days 2 hours. Neither is a guaranteed elapsed-time duration. Testnet, signet and regtest configure maturity 5 and validity 100.
Below-minimum announcement outputs are filtered out before insertion into the validation database; they do not become eligible merely by existing on-chain. The output remains unspendable. This is different from claiming that any block containing an under-minimum output is automatically invalid. The announcement RPC rejects under-minimum amounts when constructing its template.
The claim check requires an existing matching commitment in the window. It does not rank all solvers and award the bounty exclusively to the earliest announcement. Competing eligible claims still race to spend the same UTXOs.
After deployment, ContextualCheckBlock rejects multiple announcements for one integer within a block. The reference BlockAssembler skips duplicate announcements within a package or against already included ones. CompareTxMemPoolEntryByAncestorBurnFee prioritizes ancestor-package burn, then ancestor fee score. Mempool ancestry disallows conflicting announcements with a parent; this is policy, not an automatic bounty auction.
Replacement of transactions spending the same input follows the fee/sequence checks in MemPoolAccept::PreChecks. A higher announcement burn alone should not be described as a universal replacement guarantee. Independently funded competing announcements can coexist in the mempool while templates admit at most one per integer per block.
Multiple funded outputs for one N form an aggregate bounty. Claims may select outputs explicitly (claimdeadpooltxs) or query unspent indexed outputs (claimdeadpoolid). The helpers subtract a fixed 10 base units per estimated serialized byte using createClaimTx's size estimate, then return transaction hex. There is no public fee-rate argument. Ordinary validation still applies, including UTXO availability, one payout, amount ranges and fees. Broadcast and confirmation are separate from construction.
The validation announcedb/ is written during connection and announcements are removed during DisconnectBlock. Claims use this database and the current UTXO view. The separate indexes/deadpool/ records entries, announcements and claims for RPC queries; startup currently creates it unconditionally, despite a source TODO that it could become optional.
DeadpoolIndex overrides WriteBlock but has no custom rewind/removal override in this revision. Do not treat discovery records as a guarantee that an output is presently claimable or canonical after a reorg. Confirm UTXOs and current chain membership; audit stale records and rebuild/reorg behavior before production accounting. getdeadpoolentry sums all indexed entries, including claimed entries; its bounty is not necessarily the remaining spendable bounty.
Evidence: Deadpool unit tests, functional lifecycle and expiry tests, RPC tests. Review activation boundaries carefully: Script flags use DeploymentActiveAt, while some connection checks use DeploymentActiveAfter(pindex,...). Boundary alignment needs maintainer review; no behavior was changed by this documentation task.
Deadpool knowledge · IFaaS reference
Documentation index · Release history · Repository knowledge index