8. Deadpool lifecycle and developer interface
The published IFaaS utility repository documents three principal stages:
- Create or add to a bounty: specify the integer and reward amount.
- Announce a solution: use the applicable announcement process, including the required burn and recipient information.
- Claim the reward: after the required confirmation interval and before the claim expires, submit the eligible claim under the applicable rules.
The versioned IFaaS utility README says to wait 100 blocks and “no more than 672 blocks.” That older wording does not precisely describe the reviewed validation window. At Core e224c5277e3ce23677804e0eea6f5c836d30e5eb, a claim at target height H searches announcements at heights max(1, H − 772) through H − 100, inclusive. The mainnet parameters are maturity = 100 blocks and validity = 672 blocks; DeadpoolAnnounceMaxAge returns their sum. The announcement database uses inclusive height comparisons. An announcement can therefore qualify at age 100 through 772 blocks, subject to all other claim checks. At the nominal 30-minute interval, maturity is about 50 hours and maximum age about 16 days 2 hours; actual elapsed times vary.
The reviewed mainnet configuration sets the minimum recognized announcement burn to 1,000,000 base units = 0.01 FACT. During block connection, announcements below that amount are filtered out of the claim index; burning less does not purchase an eligible announcement. The reference miner avoids duplicate announcements for the same integer in a template and prioritizes packages using ancestor burn amounts followed by fee policy. That is competitive transaction-selection policy, not a guarantee of inclusion or a universal auction price. See miner.cpp and CompareTxMemPoolEntryByAncestorBurnFee.
The utility scripts call the node RPCs createdeadpoolentry and announcedeadpoolclaim; the repository also includes a claim script. These create or submit transaction workflows using node RPCs and a loaded wallet. The scripts are reference utilities, not a guarantee of production-grade input validation or operational security. Avoid feeding untrusted input to shell-based wrappers. Use version-specific RPC help and audited integrations for production systems.
The existence of the announcement process should not be described as a cryptographic guarantee that no competing solver can ever claim a reward. Its exact protections are determined by the protocol's commitment, timing and validation rules.
Primary sources:
- https://github.com/ProjectFactor/IFaaS
- https://github.com/ProjectFactor/IFaaS/blob/main/create_deadpool_entry.py
- https://github.com/ProjectFactor/IFaaS/blob/main/announce.py
- https://x.com/FACT0RN/status/1873393861701120300
- https://x.com/FACT0RN/status/1874078627421192700
- https://x.com/FACT0RN/status/1874245689406087267
Encoding, commitments and transaction boundaries
Deadpool integers use CScriptBignum::Serialize: little-endian magnitude with Script sign handling and a positive sign-padding byte when needed. This is not decimal text, big-endian RSA encoding or the fixed-width mining-factor field. The deadpoolid is single SHA256 of that canonical serialization, with inherited uint256 display conventions.
For divisor p and the sole payout script S, the commitment is claimHash = SHA256(SHA256(Serialize(p)) || SHA256(S)). There is no extra salt or nonce. The announcement publishes N and this hash; a claim reveals p and binds the actual payout script. The script requires p > 1, p ≠ N and N mod p = 0, not primality, complete factorization, smallest-factor ordering or equal widths. Exactly one payout output is required.
The standalone integer checker accepts 160–4,159 bits, but this is not an end-to-end transaction-support promise. In the pinned revision, Solver bounds the entire announcement script to 2 + 520 + 32 = 554 bytes. The canonical RPC format consumes 1 byte for OP_ANNOUNCE, 33 for the pushed commitment and 3 for the large-integer push header, leaving 517 bytes for N. Positive sign handling therefore limits this format to 4,135 bits. A 4,136-bit N needs 518 bytes and produces a 555-byte announcement that Solver does not recognize; a 4,159-bit N produces 557 bytes even though its 529-byte entry fits. Construction RPC success alone does not establish recognition.
Claims have a separate 520-byte per-element bound, not the announcement's 554-byte whole-script cap. A proper divisor of a checker-accepted N fits that element bound; eligible announcements, timing, commitments, UTXOs and other validation still apply. Read-only checks on 2026-12-03 identified the service-configured node as Fermat 6.0.43, mainnet, Deadpool active. Unfunded construction and decoding confirmed recognized announcements at 4,135 bits and nonstandard announcements at 4,136 and 4,159 bits, matching local serialization fixtures and the pinned source. No payments or broadcasts were made.
Gateway rejects outside 231–4,135 bits before checkout while preserving its greater-than-230-bit service minimum. Maintainer blocker: exact node build provenance and isolated announcement-indexing/full-claim boundary validation remain unavailable, so the end-to-end live usable maximum is not confirmed. Do not equate successful construction/decoding or form acceptance with protocol settlement validation.
At claim height H the eligible announcement heights are max(1, H − 772) through H − 100 inclusive. An announcement at height 200 can therefore qualify at claim heights 300–972, subject to other checks. Below-minimum burns remain unspendable but are not inserted into the qualifying announcement database; their existence does not automatically invalidate the containing block.
After deployment, contextual validation rejects multiple announcements for one integer in a block. Eligible competing solvers can still race to spend the same bounty UTXOs: the rules do not award an exclusive right to the earliest announcer. Higher burn alone is not a universal transaction-replacement guarantee.
The validation announcement database removes disconnected announcements. The separate discovery index has no custom rewind/removal override in the reviewed revision. Recheck current UTXOs and canonical-chain membership after reorgs. In particular, getdeadpoolentry.bounty sums indexed entries including claimed values; it is not necessarily the remaining spendable reward.
