For developers and engineers

Under the hood

The numbers behind the machines: vsize, fee rates, retargets, descriptors and attack probabilities.

0 of 6 steps done

  1. Advanced levelThe Life of a Transaction

    Read the fee and fee rate straight from inputs, outputs and virtual size.

    Open the model

    Optional challenge Inputs total 137,250 sat, outputs 135,558 sat, and the transaction is 141 vB. What is the fee rate?
  2. Advanced levelThe UTXO Machine

    Weigh the fee and privacy cost of consolidating coins.

    Open the model

    Optional challenge A transaction weighs 561 weight units. What is its virtual size?
  3. Advanced levelThe Blockspace Market

    Use CPFP to pull a stuck parent into the next block.

    Open the model

    Optional challenge A parent of 200 vB pays 400 sat; its child of 100 vB pays 2,600 sat. What is the package fee rate?
  4. Advanced levelThe Difficulty Engine

    Compute a retarget, including the 4× clamp.

    Open the model

    Optional challenge The last retarget window took 7 days instead of 14. How does the target change?
  5. Advanced levelThe Multisignature Vault

    See why a multisig backup needs the descriptor, not just the seeds.

    Open the model

    Optional challenge Why must a 2-of-3 multisig backup include the output descriptor?
  6. Advanced levelThe Bitcoin Security Arena

    Compare simulated success rates with the exact race odds and the whitepaper's figure.

    Open the model

    Optional challenge Whitepaper §11: an attacker with 10 % of hash rate, the merchant waits 5 blocks. The catch-up probability is about…

Finished? Choose another path or explore freely.