ACADEMY / From zero to privacy in Bitcoin.
L09 · M02

Fees, virtual size and replacement

55 minEssential

Objective

Estimate costs, interpret sats per vbyte and understand RBF and CPFP.

Understanding the topic

The network fee is the difference between the value of the inputs and outputs. Fee competitiveness is usually expressed in sat/vB, satoshis per virtual byte. It does not depend directly on the monetary value sent. Many inputs can make a small payment expensive, while a large payment with few inputs can take less space.

For example, 200 vB at 5 sat/vB costs 1,000 sat. Before signing, the fee may only be an estimate because the final size can depend on the signatures and structure. Desk offers estimated speeds and a manual fee rate. A “fast” label does not promise confirmation by a particular time.

RBF is a policy for replacing unconfirmed transactions under certain conditions. It allows a conflicting spend with a higher fee to be proposed. Node policies have evolved, so a signal that a transaction is not replaceable is no guarantee of payment. A replacement requires a fresh review and the necessary signatures.

CPFP spends an output of a pending transaction to make confirming parent and child together attractive. It requires control of a spendable output, compliance with applicable policies and payment of its cost. This is a Bitcoin technique. Do not assume the student’s Cuvex version offers a CPFP button.

“Dust” is an output considered too small under the applicable policies and estimated spending costs. The threshold varies with script type and other conditions. Do not teach one fixed figure as a consensus rule. If a change output is impractical, review the amount, selected inputs or sweep, and the effective fee.

Practice

  1. Calculate the fee for 180 vB at 8 sat/vB: 1,440 sat. Check it against your lab budget.
  2. Compare one input with ten inputs. Explain why the amount sent is insufficient for estimating the cost.
  3. Simulate a pending transaction and choose whether to wait, use RBF or investigate CPFP. Check actual support before relying on a feature.

Show what you know

Justify the fee rate, the absolute fee and its cost relative to the payment. Reject a fee you cannot explain.

Common question

Does RBF guarantee cancellation of an earlier payment? No. The competing versions remain in play until confirmation, and propagation matters. Do not release goods on the promise of cancellation.

Pause point

Save your decision and the reason for it.

What fee results from 250 vB at 4 sat/vB?

Reading, self-assessment and physical practice are different. This result is not a certificate.