M02 · Edition 0.1
Fees, virtual size and replacement
Free · no registration
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
- Calculate the fee for 180 vB at 8 sat/vB: 1,440 sat. Check it against your lab budget.
- Compare one input with ten inputs. Explain why the amount sent is insufficient for estimating the cost.
- 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.
1. What fee results from 250 vB at 4 sat/vB?
- 1,000 sat.
- 254 sat.
- 4% of the amount sent.
Show answer
1,000 sat.Virtual size multiplied by the fee rate gives the estimated fee.
You can keep reading without an account. To share progress with TutorAI, activate a code.