About 14 minutes with practice. You only need something to take notes with. No real wallet details or payments are part of this lesson.
Course contents · Lesson 11 of 21
- Read the whitepaper as an argument · Marked complete
- Hashes and Merkle commitments · Marked complete
- UTXOs, change and accounting · Marked complete
- Scripts describe spending conditions · Marked complete
- Signatures and what they authorize · Marked complete
- Block headers and the chain of work · Marked complete
- Difficulty, hashrate and noisy observations · Marked complete
- Issuance, fees and incentives · Marked complete
- Mempools and policy are not consensus · Marked complete
- Fee changes: RBF and CPFP · Marked complete
- SegWit and transaction weight · Marked complete
- Taproot and Schnorr: useful, not magical · Marked complete
- HD wallets and derivation paths · Marked complete
- PSBT: separate construction from signing · Marked complete
- Descriptors make a wallet policy portable · Marked complete
- Full nodes, pruning and verification · Marked complete
- Reorganizations and lightweight evidence · Marked complete
- Lightning channels and HTLCs · Marked complete
- Lightning liquidity has direction · Marked complete
- Soft forks, proposals and human coordination · Marked complete
- Capstone: trace a payment end to end · Marked complete
What you will learn
- Explain witness separation at a high level.
- Calculate virtual size from weight.
Witness data has a distinct role
Segregated Witness, described in BIP 141, separates witness information used to satisfy spending conditions from the traditional transaction serialization used for the transaction identifier. This addresses important transaction-malleability concerns for the relevant forms and introduces a weight-based way to constrain block resources. It does not mean that signatures disappear or stop being validated.
Weight and virtual bytes are related
Transaction weight combines base size and total size according to the specified formula. Virtual size is weight divided by four, rounded up. Wallet fee estimates commonly use virtual bytes, so a comparison based only on raw file length can be misleading. The output and input types influence the data that needs to be represented.
Explain benefits without universal promises
A SegWit label does not guarantee that every transaction is cheaper than every older-format transaction. Input counts, script structure and fee rates still matter. Likewise, a protocol improvement does not make an unknown wallet implementation safe. When reviewing a technical claim, separate the deployed consensus feature from product support and a particular transaction’s measured characteristics.
For a practical estimator, label whether its input is bytes, weight units or virtual bytes before applying a fee rate. A correct multiplication with the wrong unit still produces a wrong fee.
Practice on paper
A hypothetical transaction weighs 561 weight units. What virtual size should be used before multiplying by a fee rate?
Reveal the worked answer
Divide by four to get 140.25 and round up: 141 virtual bytes. At an illustrative 3 sats/vbyte, the corresponding fee calculation is 423 sats.
Check your understanding
Choose an answer in your head or on paper, then reveal the explanation. Retry whenever you like. Answers are not submitted or scored; completion marks are your own learning notes.
1. Does witness separation mean signatures are no longer checked?
- Yes
- No
Reveal answer 1
No. Witness data remains part of validation.
2. Should virtual size round down when weight is not divisible by four?
- Yes
- No
Reveal answer 2
No. BIP 141 specifies rounding up.
Take this with you
Use the protocol’s resource units when comparing fees.
Your learning, at your pace
Read every lesson freely. Optional progress tracking needs JavaScript and browser storage; it does not require an account or wallet.
Remove the saved completion marks for this course on this browser? Other courses will stay unchanged.
Saved only in this browser for this website address. Clearing storage, changing device or using a different gateway may lose these marks. No sync, grading or credential; nothing is sent to us. The export is a record for you, not a file this site can import.