Linked Questions
20 questions linked to/from How do virtual size, stripped size and raw size compare between legacy address formats and native segwit?
21
votes
2
answers
10k
views
Is there a difference between bytes and virtual bytes (vbytes)?
In an Optech newsletter, size is referred to using vbytes. Is there a difference between vbytes and bytes? If so, what is the difference?
15
votes
3
answers
8k
views
What is the maximum number of inputs/outputs a transaction can have?
Is there a maximum recommended number of inputs/outputs for each transaction? I was scripting a faucet and wasn't sure whether to payout in one transaction to all addresses or split them into groups ...
8
votes
2
answers
2k
views
How does SegWit reduce transaction size, when the signature is simply moved to another part of the transaction?
This video explains that the signature is moved out of the input section and moved to the new one called the witness. From what I can tell, the witness signature is still contained in this transaction ...
7
votes
1
answer
2k
views
What is the difference between "native segwit" and "bech32"?
People seem to be using "native segwit" and "bech32" interchangeably. Are they really the same thing?
7
votes
1
answer
1k
views
How big is the input of a P2PKH transaction?
How many bytes does a P2PKH input have? I'm finding a few different numbers:
Why does the default miner implementation use pay-to-pubkey? states:
push + sig + push + key = 1 + 72 + 1 + 61 = 139
...
4
votes
2
answers
1k
views
Why are segwit transactions cheaper than legacy transactions?
What's the reason to make fees for segwit addresses lower, while keeping legacy addresses with higher fees? --
I'm interested in both, why segwit transactions are cheaper than legacy addresses, and ...
3
votes
3
answers
617
views
Does the transaction fee depend on the transferred amount?
Do transaction fees depend on the amount of bitcoin sent?
On what factors do fees depends?
4
votes
1
answer
841
views
What is the size and weight of a P2WPKH input?
I'm investigating diverging P2WPKH input size calculations on two Bitcoin projects and some blog posts. I'm looking for a detailed explanation of the exact weight, vsize and serialized length of a ...
2
votes
1
answer
352
views
What is the purpose of P2WPKH-P2SH?
When I ask the google what is the purpose of P2WPKH nested in P2SH, it says the following:
This allows the user to send funds to a SegWit (Segregated Witness)
address using a non-SegWit transaction, ...
2
votes
1
answer
312
views
What is the weight of a P2TR input?
I'm looking for a detailed explanation of the weight, vsize and serialized length of a P2TR input, in the same vein as How big is the input of a P2PKH transaction?.
0
votes
1
answer
258
views
What is the size and weight of a wrapped segwit single-sig input?
I'm looking for a detailed explanation of the exact weight, vsize and serialized length of a P2SH-P2WPKH (wrapped-segwit single-sig) input, in the same vein as How big is the input of a P2PKH ...
0
votes
3
answers
99
views
Rationale behind accepting btc as a mode of payment?
Tesla has said they "expect to begin accepting Bitcoin as a form of payment for our products in the near future."
But Bitcoin doesn't scale. It achieves about roughly 6 transactions per ...
0
votes
1
answer
144
views
Where are signatures stored in segwit, and why are addresses different?
So I'm researching SegWit, and as far as I'm aware, it re-organizes the data structure of transactions so that the ECDSA signature is not included in the preimage of the Tx Hash.
I am also aware that ...
0
votes
1
answer
136
views
What is the way that fee is calculated in post-segwit bitcoin?
In pre-segwit bitcoin, process of calculating transaction fee was easy. Actually everything was based on the fact that the byte has its own value/price (estimated by network) and then fee is obtained ...
1
vote
1
answer
140
views
Input/Output size for various transaction types [duplicate]
What are input/output sizes for various transaction types?
I see some numbers like 210 byte for input for p2sh-p2wpkh here (How do virtual size, stripped size and raw size compare between legacy ...