Linked Questions

23 votes
2 answers
13k 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?
AdaptiveAnalysis's user avatar
15 votes
3 answers
9k 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 ...
cainy393's user avatar
  • 251
9 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 ...
robinnnnn's user avatar
  • 193
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?
Murch's user avatar
  • 76k
7 votes
1 answer
2k 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 ...
Murch's user avatar
  • 76k
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 ...
user avatar
4 votes
1 answer
1k 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 ...
Murch's user avatar
  • 76k
4 votes
1 answer
485 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?.
Murch's user avatar
  • 76k
3 votes
3 answers
1k 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?
Arjun Reddy's user avatar
2 votes
1 answer
504 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, ...
dassd's user avatar
  • 1,099
2 votes
1 answer
189 views

Estimating virtual bytes of a transaction seems circular

I'm sorry if this has been answered before, but I haven't found anyone really bring this up. I am trying to construct a PSBT, which assumes a fixed feerate and a fixed amount to send to some address. ...
Sherwin Li's user avatar
1 vote
2 answers
124 views

What's max possible tx/second right now?

What's max possible tx/second right now, if we use all the latest Bitcoin tech multi-sig, MAST + Taproot, without increasing block size? Let's say our goal is simple tx finality and 10b utxo. How do ...
vi.su.'s user avatar
  • 1,852
1 vote
1 answer
78 views

How to understand the fees of Bitcoin transfer?

Right now on https://bitcoinfees.net , it is showing the following chart: So it is show 55 - 57 sat / vB is needed for the transfer to take place in about an hour. How do we interpret this chart? For ...
Stefanie Gauss's user avatar
1 vote
0 answers
162 views

How to get transaction size as byte before send with Python's bit library?

I am using bit library to make a Bitcoin transaction. I can use methods like this: key.create_transaction([('1Archive1n2C579dMsAu3iC6tWzuQJz8dN', 190, 'jpy')]) or key.send([('...
reza_khalafi's user avatar
1 vote
1 answer
174 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 ...
1_want_to_be_good_dev's user avatar

15 30 50 per page