Author

Topic: why a large Bitcoin transaction does consume more space on the Blockchain (Read 157 times)

member
Activity: 290
Merit: 29
Hello,
 
to my knowledge a large Bitcoin transaction does consume more "space" on the blockchain than a small BTC transaction.

Why that?


Thanks!




PS
I do know that hasing is used, e.g. to verify the integrity of a file.
Ok... You've asked an interesting question. You should have just searched it though cause the answers I'm about to give and others have given are all the same with what Google and other search engines would give you.

But regardless, Large transactions consume more space on the Blockchain cause it has more inputs and outputs than a small Bitcoin transaction. These inputs and outputs are simply the records of where Bitcoin comes from and where it is going. So, the more these records are, the more the data that needs to be stored on the Blockchain.

And then for transaction fees, it is simply the amount of Bitcoin paid as a fee for a transaction. Always from the sender to the miner confirming the transaction. It is calculated like this;

Transaction fees = Bitcoin/byte of data.

The higher the transaction size, of course, the higher the transaction  fee
legendary
Activity: 1526
Merit: 1359
I mistakenly hit the post button while I wasn't done writing. If you read it again you will see the difference although I was wrong in the above statement but I knew what I wanted to say.

If you pressed the post button by mistake, why don't you edit your post and correct the mistakes? Your post still contains wrong information that can be confusing for a newbie.

For example, this part is still wrong:

For example if you're to spend 1BTC in a TX and a 0.10 BTC you don't expect the smaller transaction to contain a bigger space. The higher the input the higher the space it takes in the Blockchain and also the higher the tx fee.
~

As others have already pointed out, the transaction size does not depend on the BTC amount, so I suggest you leave that part out.
sr. member
Activity: 2520
Merit: 280
Hire Bitcointalk Camp. Manager @ r7promotions.com
Apart from number of inputs and outputs, the type of Bitcoin address in the input and output plays role in how much fee you pay in your transaction.

Use segwit to pay less fee and for multi sig transactions the taproot can bring down the fees more.
legendary
Activity: 4424
Merit: 4794
a lean transaction can be small , such as 226bytes for a 1 input 2 output transaction of p2pkh

however using certain range of opcodes for the "witness" for things like segwit/taproot. you can append on metadata of nearly 4mb
https://bitcoinops.org/en/tools/calc-size/
legendary
Activity: 2254
Merit: 2406
Playgram - The Telegram Casino
Here is a thread I made a couple of year back that tries to simplify the concept of transaction fees and how inputs influence the amount of fees paid - https://bitcointalksearch.org/topic/m.54504855.
sr. member
Activity: 812
Merit: 436
to my knowledge a large Bitcoin transaction does consume more "space" on the blockchain than a small BTC transaction.

The amount contains in a transaction made is not the measure to it's transaction fee rates, the number of inputs we are combining in a single transaction is what determines the block size and the fee rate charged per transaction made, you can always check the mempool to see when the fee rate is cheaper so that you can perform your transaction on a lower fee rate and achieve better.
member
Activity: 66
Merit: 5
Eloncoin.org - Mars, here we come!
For example if you're to spend 1BTC in a TX and a 0.10 BTC you don't expect the smaller transaction to contain a bigger space. The higher the input the higher the space it takes in the Blockchain and also the higher the tx fee.
You are completely wrong.

Please always read previous replies before making a post.
As already stated, the transaction size and the fee doesn't depend on the amount you send. Therefore, it doesn't matter you are spending 1 BTC or 0.1 BTC.
What matters is the number of inputs and outputs.
I mistakenly hit the post button while I wasn't done writing. If you read it again you will see the difference although I was wrong in the above statement but I knew what I wanted to say.

Thanks buddy for the correction!
legendary
Activity: 994
Merit: 1089
For example if you're to spend 1BTC in a TX and a 0.10 BTC you don't expect the smaller transaction to contain a bigger space. The higher the input the higher the space it takes in the Blockchain and also the higher the tx fee.
Tx fee is not determined by the amount of BTC in the tx, but the input and output. I.e. if you are spending 1 BTC in a 1 input, 2 output tx, and 0.1 BTC in a 2 input, 2 output tx, the second tx would pay more in fees, even if the amount of BTC in the first tx is larger.
legendary
Activity: 2380
Merit: 5213
For example if you're to spend 1BTC in a TX and a 0.10 BTC you don't expect the smaller transaction to contain a bigger space. The higher the input the higher the space it takes in the Blockchain and also the higher the tx fee.
You are completely wrong.

Please always read previous replies before making a post.
As already stated, the transaction size and the fee doesn't depend on the amount you send. Therefore, it doesn't matter you are spending 1 BTC or 0.1 BTC.
What matters is the number of inputs and outputs.
member
Activity: 66
Merit: 5
Eloncoin.org - Mars, here we come!
I'm not too aquatinted with technical knowledge but from my little understanding naturally anything that is large should require a larger space too. You don't expect a small input to take a large space in the Blockchain.

The higher the input the higher the space it takes in the Blockchain and also the higher the tx fee.

So, size of input = size of tx fees = transaction space in the Blockchain.

Additionally, from what I perceived from the above statement is if 1BTC is spent in an input it takes only a small space because it's just a single input but if spent in different inputs it takes more space.
Like; 1 bitcoin to be spent on 5 different addresses will take much space than when it's sent to a single address.
Although I may be wrong but that's what I understand from the Bitcoin transactions.
legendary
Activity: 2380
Merit: 5213
Every time you make a bitcoin transaction, you broadcast some data.

For example, for each input you add to your transaction, you should have a TXID, an index and an unlocking script in the transaction data. Also, for each output you add to your transaction, you should have a value and a locking script.
The more inputs or outputs you have in your transaction, the larger data you have to broadcast to the network and the larger data the miner has to include in the blockchain.

(The raw transaction should include some other data and what I mentioned above are just some of them.)
hero member
Activity: 868
Merit: 952
I hope that by large bitcoin transactions taking more space you don’t mean the quantity or amount because that would not be entirely true. The size of a bitcoin transaction is mostly dependent on the number of inputs or outputs used. The input is the number of utxo you combine to send. Bitcoin network treats one utxo as an input, so if there are many UTXOs used in that particular transaction then you will have much inputs which will take a lot of space and will incur more transaction fees.

For example if you receive 1 bitcoin in like three separate transactions then you have three UTXO and when trying to spend them bitcoin network protocol will treat it as three inputs which means you will pay higher than sending it if the 1 bitcoin was received in just one transaction. So amount doesn’t really count as size but the utxo actually does with some datas
legendary
Activity: 1512
Merit: 4795
Leading Crypto Sports Betting & Casino Platform
You have said it yourself. Large bitcoin transaction. The higher the inputs and the outputs in a transaction, the higher the transaction weight or virtual size (vbyte).

The type of address used is very important. Native segwit transactions have less weight or vbyte than legacy or nested segwit transactions.
hero member
Activity: 2366
Merit: 838
to my knowledge a large Bitcoin transaction does consume more "space" on the blockchain than a small BTC transaction.

Why that?
What are large and small transaction in your post?

If large and small are their sizes, it means all already.

If large and small are values of those transactions, it is different and it seems you misunderstand how Bitcoin blockchain works.

Transaction fee is paid by users to Bitcoin miners, who confirm transactions but they don't care how big or small value of that transaction. They only care about transaction size, fee rate and at the end transaction fee they receive.

Transaction fee = Transaction size * fee rate.

With same transaction size and same fee rate, transaction fee will be the same but transaction value can be either 1 btc or 1,000 btc or even more.

https://learnmeabitcoin.com/technical/transaction-fee
member
Activity: 82
Merit: 33
Hello,
 
to my knowledge a large Bitcoin transaction does consume more "space" on the blockchain than a small BTC transaction.

Why that?


Thanks!




PS
I do know that hasing is used, e.g. to verify the integrity of a file.
Jump to: