Questions tagged [transaction-size]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
21 views

Is it possible for the `size` and `vsize` to be the same for a valid segwit (bech32) transaction?

I'm aware that for non-segwit transactions, vsize is always the same as size. But is it possible for a valid transaction to include size=vsize when involving segwit inputs/outputs? This particular ...
1
vote
1answer
29 views

What is the exact size and weight of a 2-of-2 P2WSH input?

I'm proofreading an article mentioning the cost reduction of P2TR for Lightning channels in comparison to P2WSH. To that end, I'm looking for the precise weight, vsize and serialized length of a 2-of-...
1
vote
1answer
91 views

What size does a transaction have?

Transaction size should be the same right? I get that there were updates to the btc network that changes the size of transactions. But if you just look at transactions since the last updates, how big ...
0
votes
1answer
77 views

Most transactions in a block

Block 689074 had 4,463 transactions. Is this the highest number of transactions in a block until now? What are the things that affect the number of transactions possible in a block? Few observations ...
0
votes
1answer
25 views

Can larger transactions have a lesser fee per byte than smaller ones and still get equally treated?

Is the term "volume discounting" applicable in bitcoin transactions, meaning can a user pay less satoshi/Byte if a few transactions are bundled into one? In other words, would a fee for a ...
2
votes
3answers
230 views

UTXO Model and Trans Fee / Kb Clarification

I have been working on understanding the inputs/outputs and transaction details as according to the UTXO model which is discussed in this question and also thinking about how it relates to transaction ...
0
votes
2answers
20 views

Coinbase transaction smaller than .001 btc? & Blockchain says my Bitcoincore wallet is invalid

I'm trying to figure out how to send tiny transactions, like 10 cents. Coinbase says the minimum is .001btc. That seems rather large. Is that just a coinbase requirement? Also, my blockchain wallet ...
3
votes
1answer
390 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 ...
1
vote
2answers
198 views

Understand how transaction size and fees calculation works in caravan

Looks like there is no activity in caravan github repository so maybe someone here can help me with this issue. Already mentioned everything in the below link however my three basic questions are: ...
5
votes
1answer
320 views

What are the sizes of single-sig and 2-of-3 multisig taproot inputs?

There was a Twitter discussion about the sizes of inputs and Taproot came up. What are the input sizes for Taproot inputs? Please cover both the key path spend (single-sig or default spend) and 2-of-...
7
votes
3answers
2k views

How is the size of a bitcoin transaction calculated

From what I understand, the fees set on bitcoin transaction are based on a recommended fee (mostly, from a 3rd party service) per byte of the transaction size. What I am curious about is how do ...
1
vote
0answers
47 views

How is this 1 input 2 output tx larger than this 2 input 2 output tx?

I saw the following liquid transaction with one input and two outputs is byte-wise bigger than another liquid transaction with two inputs and two outputs. How is this possible? One input transaction (...
3
votes
2answers
89 views

What defines the standard Bitcoin transaction size? [duplicate]

The Lightning Network specifications limit the number of (unsettled) HTLCs in a channel to 483 at each side (maximum 967 total). The rationale behind this is that the penalty transaction must be under ...
14
votes
2answers
5k 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?
3
votes
1answer
615 views

How to calculate the size of multisig transaction?

Can you help or suggest the formula for calculation of simple multi-sig transactions? I have an issue to calculate the size of multi signature 2-2 transaction. I tried to follow this: Predict ...
4
votes
2answers
328 views

On chain cost of Segwit version 1 versus version 0

How do total blockchain cost for Segwit version 0 compare to version 1 which is being proposed? I'm specifically interested in a single user transactions – both paying to public key (or pk hash) and ...
0
votes
1answer
77 views

regarding transaction size in a block

In What are the minimum sizes for transactions and blocks in Bitcoin? The first transaction is set to be 65 bytes long, due to coinbase requirements. What about the second one ? That can be 61 bytes ...
0
votes
1answer
57 views

re : minimum sizes of transactions and blocks

I see there's a similar question provided here: What are the minimum sizes for transactions and blocks in Bitcoin? But the answer provided might be not correct in the light that "A valid transaction ...
0
votes
2answers
264 views

What happens if "transaction size" is larger than "maximum block size"?

Assuming a transaction size is T Bytes, while maximum block size is B Bytes, such that T>B. What happens for this transaction? It will be divided into two smaller parts and will be stored in two ...
6
votes
2answers
2k views

How do virtual size, stripped size and raw size compare between legacy address formats and native segwit?

This answer states that SegWit doesn't reduce transaction size. If this is true, why is it cheaper to send a SegWit transaction?
2
votes
1answer
348 views

Upper bound on the Bitcoin transaction size [duplicate]

Assume that I want to store some arbitrary data on the Bitcoin blockchain via a single transaction. Question: Is there any upper bound on the size of data I want to send via a single transaction? -...
2
votes
2answers
98 views

Does total size of the transaction affect confirmation time?

Suppose one pays 1 satoshi/byte for their transactions. Will the confirmation of the two transaction below be different? A) a transaction of 1 inputs and 1 output (~192 bytes) B) a transaction of ...
1
vote
1answer
573 views

What is the absolute smallest size of the data (bytes) that a blockchain transaction could possibly be?

I am looking into completing blockchain transactions over an extremely limited data transport channel. Think even more limited than a satellite connection. The maximum payload I can send at any one ...
8
votes
2answers
1k views

What is the size of different Bitcoin transaction types?

I found this interesting take on Bitcoin transaction type trends from 2015. As that article is from 2 years ago, I am wondering: a. Are there any newer transaction types? b. What is the average ...
1
vote
1answer
179 views

What is the maximum size for SegWit transactions?

Before SegWit was activated, transactions were limited to 100,000 bytes or 100 kB. Bigger transactions were non-standard. What is the limit for transaction size after the activation of SegWit? Is ...
6
votes
1answer
2k views

What are the minimum sizes for transactions and blocks in Bitcoin?

I have gone through many research articles but couldn't find out what the minimum sizes of a transaction and a block are. Is there any reference where I can find an answer to my question?
6
votes
1answer
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 ...
65
votes
3answers
79k views

How to calculate transaction size before sending (Legacy Non-Segwit - P2PKH/P2SH)

I know that I pay the transaction fee per kB, so how can I calculate how large the transaction will be before I send it via the RPC api. I run a site using bitcoins, and I cannot let the user's ...