FrostBit

Witness Tasks and Voting

Updated 2026-11-22Open in Explorer

A witness task moves through forward-beacon selection, atomic case-collateral reservation, independent external verification with block-evidence voting, grace and challenge periods, and possible arbitration.

ItemValue
Selection and voting cadence6-block forward-beacon delay mixing 3 future block hashes; defaults to 20 selected witnesses (minimum 4 to start) reserving 10 FB each; 10-block voting period, 60% threshold, 1-block grace period, 300-block public challenge period; 20-block reselection cooldown
Original PASS evidenceRequires recharge-block and reference-block heights and canonical hashes; VM runs O(1) validation referenceHeight - rechargeHeight + 1 >= K; FAIL, ABSTAIN, and arbitration votes do not require evidence fields
External min depth KBTC: 2 blocks (automated witnesses use tip - 1, requiring ≥ 3 confirmations); ETH / BNB / Base / Arbitrum: 64 blocks; TRON: 20 blocks
Voting entry boundaryAutomation connected to synchronized external nodes is recommended; the web wallet also supports original-witness PASS with four manually entered block-evidence fields, as well as original-witness FAIL rejections and arbitration votes

Selection, voting, grace, and challenge cadence

  • After submission, a deposit request waits for forward-beacon selection with a 6-block delay mixing 3 future block hashes to prevent grinding. Selection defaults to 20 witnesses (minimum 4 to start) and enters original voting only after the entire group atomically reserves 10 FB per witness for the case.
  • The default voting period is 10 blocks with a 60% consensus threshold. Once the threshold is reached, a 1-block grace period lets remaining selected witnesses submit their votes. PASS then enters the default 300-block public challenge period, while FAIL rejects the request directly after the grace period.
  • A split original-witness round (both PASS and FAIL votes without reaching consensus threshold) automatically triggers protocol arbitration with no public funding.
  • If eligible candidates or unreserved stake are insufficient, or if a voting round times out, reselection retries after a 20-block cooldown; requests that cannot recover over the long term are conservatively rejected.

Original witness PASS block evidence and per-chain depth

ChainMin depth KAuto-witness reference blockChallenge / arbitration frontierNotes
BTC2tip - 1tipGuards against 1-block tip orphans; requires at least 3 confirmations before voting PASS
ETH / BNB / Arbitrum64finalizedfinalizedBoth reference block and verification frontier use finalized
Base64op-node safeop-node safeBoth reference block and verification frontier use op-node safe
TRON20solidifiedsolidifiedBoth reference block and verification frontier use solidified
  • Every original-witness PASS vote must commit four external block-evidence fields: recharge block height, canonical recharge block hash, reference block height, and canonical reference block hash. BTC and TRON hashes must be 64 lowercase hex characters; EVM chains (ETH / BNB / Base / Arbitrum) require 0x plus 64 lowercase hex characters.
  • During execution, the VM performs only O(1) deterministic format and depth checks: referenceHeight - rechargeHeight + 1 >= K, without querying external chains. Non-compliant PASS votes fail immediately without modifying state and do not refund the runtime fee.
  • FAIL, ABSTAIN, and arbitration-stage votes do not require these four external evidence fields.

Automation and web-wallet boundary

  • In the original-witness stage, the web wallet provides four block-evidence inputs with live per-chain depth and canonical lowercase hex validation, EIP-712 clear signing, and Explorer pre-submission checks. For manual BTC votes, still choose tip - 1 as the reference block (at least 3 confirmations) to guard against 1-block orphans; automation connected to synchronized external nodes remains recommended for routine operations.
  • During arbitration, participants may still submit PASS or FAIL through either the web wallet or automation after independently verifying the external chain.
  • Automated witnesses abstain from voting whenever confirmation depth is below K under the chain’s reference-block rule or external nodes are not ready—they never fabricate reference blocks or copy other witnesses. Always confirm vote execution from the finalized receipt.

Evidence verification in challenges and arbitration

  • Challenge monitors and arbitrators inspect each original PASS vote’s committed fields: verify that both the recharge block and reference block lie on the local canonical chain, the reference block has reached the chain’s verification frontier, and the deposit transaction sits in the committed recharge block matching the requested asset, amount, and recipient (for BTC, also excluding internal protocol vault change and migration outputs).
  • If the deposit itself is false, or fewer than ceil(consensusThreshold% × selectedWitnessCount) original PASS votes have valid verified evidence, vote FAIL. A single forged evidence vote does not penalize an honest majority that still meets the threshold.
  • Automatic no-funding arbitration triggered by a split original-witness round judges strictly by the external deposit facts rather than the original PASS evidence-vote threshold.
  • If external RPC state is uncertain or a committed reference block has not yet reached the local verification frontier, conservatively abstain or wait for synchronization rather than guessing.