diff --git a/decoding/transaction-weight.mdx b/decoding/transaction-weight.mdx index ce159dc..ac9e03c 100644 --- a/decoding/transaction-weight.mdx +++ b/decoding/transaction-weight.mdx @@ -9,79 +9,63 @@ order: 6 icon: "FaClipboardList" images: ["/bitcoin-topics/static/images/topics/thumbnails/musig-thumbnail.webp"] parent: "fee-calculation" ---- -When sending Bitcoin transactions, we need to pay fees. But how does the network determine how much we should pay? +--- +When sending Bitcoin transactions, we need to pay fees based on how much block space our transaction occupies. There are three main ways to measure a transaction's size: -It all comes down to space - specifically, how much space our transaction takes up in a block. +- **Transaction Size**: The raw byte count of the transaction +- **Transaction Weight**: A weighted measure that counts witness data differently +- **Virtual Bytes (vBytes)**: Used for fee calculations (covered in the next topic on fee rates) -## Transaction Size (Legacy) +## Transaction Size -Originally, measuring transaction size was straightforward: +The most straightforward measurement is the raw byte count of a transaction: