Bitcoin Forum
May 22, 2024, 04:14:51 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: why a large Bitcoin transaction does consume more space on the Blockchain  (Read 112 times)
joe1234 (OP)
Member
**
Offline Offline

Activity: 76
Merit: 33


View Profile
February 01, 2024, 04:05:18 PM
 #1

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.
tbct_mt2
Hero Member
*****
Offline Offline

Activity: 2338
Merit: 835



View Profile WWW
February 01, 2024, 04:11:17 PM
 #2

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
Charles-Tim
Legendary
*
Offline Offline

Activity: 1554
Merit: 4907



View Profile
February 01, 2024, 04:11:46 PM
 #3

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.

Zaguru12
Hero Member
*****
Offline Offline

Activity: 700
Merit: 877



View Profile
February 01, 2024, 04:13:21 PM
 #4

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

.BEST..CHANGE.███████████████
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
███████████████
..BUY/ SELL CRYPTO..
hosseinimr93
Legendary
*
Offline Offline

Activity: 2408
Merit: 5243



View Profile
February 01, 2024, 04:25:49 PM
 #5

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.)

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
Churchillvv
Full Member
***
Offline Offline

Activity: 406
Merit: 172


Eloncoin.org - Mars, here we come!


View Profile WWW
February 01, 2024, 05:14:19 PM
Last edit: February 01, 2024, 09:21:51 PM by Churchillvv
 #6

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.

hosseinimr93
Legendary
*
Offline Offline

Activity: 2408
Merit: 5243



View Profile
February 01, 2024, 05:22:40 PM
 #7

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.

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
Z-tight
Hero Member
*****
Offline Offline

Activity: 868
Merit: 1039


Only BTC


View Profile
February 01, 2024, 05:26:04 PM
 #8

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.

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
Churchillvv
Full Member
***
Offline Offline

Activity: 406
Merit: 172


Eloncoin.org - Mars, here we come!


View Profile WWW
February 01, 2024, 05:28:17 PM
 #9

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!

Aanuoluwatofunmi
Sr. Member
****
Offline Offline

Activity: 602
Merit: 410



View Profile
February 01, 2024, 05:46:05 PM
 #10

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.

.
SPIN

       ▄▄▄██████████▄▄▄
     ▄███████████████████▄
   ▄██████████▀▀███████████▄
   ██████████    ███████████
 ▄██████████      ▀█████████▄
▄██████████        ▀█████████▄
█████████▀▀   ▄▄    ▀▀▀███████
█████████▄▄  ████▄▄███████████
███████▀  ▀▀███▀      ▀███████
▀█████▀          ▄█▄   ▀█████▀
 ▀███▀   ▄▄▄  ▄█████▄   ▀███▀
   ██████████████████▄▄▄███
   ▀██████████████████████▀
     ▀▀████████████████▀▀
        ▀▀▀█████████▀▀▀
.
RIUM
.
███
███
███
███
███
███
███
███
███
███
███
███
SAFE GAMES
WITH WITHDRAWALS
       ▄▀▀▀▀▀▀▄▄▄▄
 ▄▀▀▀▀▀▀▀▀▀▀▀▀▄  ▀▀▄
█    ▄         █   ▀▌
█   █ █        █    ▌
█      ▄█▄     █   ▐
█     ▄███▄    █   ▌
█    ███████   █  ▐
█    ▀▀ █ ▀▀   █  ▌
█     ▄███▄    █ ▐
█              █▐▌
█        █ █   █▌
 ▀▄▄▄▄▄▄▄▄█▄▄▄▀
       ▄▀▀▀▀▀▀▄▄▄▄
 ▄▀▀▀▀▀▀▀▀▀▀▀▀▄  ▀▀▄
█    ▄         █   ▀▌
█   █ █        █    ▌
█      ▄█▄     █   ▐
█     ▄███▄    █   ▌
█    ███████   █  ▐
█    ▀▀ █ ▀▀   █  ▌
█     ▄███▄    █ ▐
█              █▐▌
█        █ █   █▌
 ▀▄▄▄▄▄▄▄▄█▄▄▄▀
.
███
███
███
███
███
███
███
███
███
███
███
███
▄▀▀▀











▀▄▄▄
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
.
SIGN UP


▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀▄











▄▄▄▀
Upgrade00
Legendary
*
Offline Offline

Activity: 2044
Merit: 2184


Professional Community manager


View Profile WWW
February 01, 2024, 05:47:32 PM
 #11

<snip>
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://bitcointalk.org/index.php?topic=5251213.msg54504855#msg54504855.

franky1
Legendary
*
Offline Offline

Activity: 4228
Merit: 4490



View Profile
February 01, 2024, 06:05:54 PM
 #12

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/

I DO NOT TRADE OR ACT AS ESCROW ON THIS FORUM EVER.
Please do your own research & respect what is written here as both opinion & information gleaned from experience. many people replying with insults but no on-topic content substance, automatically are 'facepalmed' and yawned at
jrrsparkles
Sr. Member
****
Offline Offline

Activity: 2408
Merit: 265


Eloncoin.org - Mars, here we come!


View Profile
February 01, 2024, 06:30:04 PM
 #13

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.









▄▄████████▄▄
▄▄████████████████▄▄
▄██
████████████████████▄
▄███
██████████████████████▄
▄████
███████████████████████▄
███████████████████████▄
█████████████████▄███████
████████████████▄███████▀
██████████▄▄███▄██████▀
████████▄████▄█████▀▀
██████▄██████████▀
███▄▄█████
███████▄
██▄██████████████
░▄██████████████▀
▄█████████████▀
████████████
███████████▀
███████▀▀
Mars,           
here we come!
▄▄███████▄▄
▄███████████████▄
▄███████████████████▄
▄██████████
███████████
▄███████████████████████▄
█████████████████████████
█████████████████████████
█████████████████████████
▀█
██████████████████████▀
▀██
███████████████████▀
▀███████████████████▀
▀█████████
██████▀
▀▀███████▀▀
ElonCoin.org.
████████▄▄███████▄▄
███████▄████████████▌
██████▐██▀███████▀▀██
███████████████████▐█▌
████▄▄▄▄▄▄▄▄▄▄██▄▄▄▄▄
███▐███▀▄█▄█▀▀█▄█▄▀
███████████████████
█████████████▄████
█████████▀░▄▄▄▄▄
███████▄█▄░▀█▄▄░▀
███▄██▄▀███▄█████▄▀
▄██████▄▀███████▀
████████▄▀████▀
█████▄▄
.
"I could either watch it
happen or be a part of it"

▬▬▬▬▬
Stalker22
Legendary
*
Offline Offline

Activity: 1512
Merit: 1359



View Profile
February 01, 2024, 08:01:39 PM
 #14

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.

█████████████████████████
██
█████▀▀███████▀▀███████
█████▀░░▄███████▄░░▀█████
██▀░░██████▀░▀████░░▀██
██▀░░▀▀▀████████████░░▀██
██░░█▄████▀▀███▀█████░░██
██░░███▄▄███████▀▀███░░██
██░░█████████████████░░██
██▄░░████▄▄██████▄▄█░░▄██
██▄░░██████▄░░████░░▄██
█████▄░░▀███▌░░▐▀░░▄█████
███████▄▄███████▄▄███████
█████████████████████████
.
.ROOBET 2.0..██████.IIIIIFASTER & SLEEKER.██████.
|

█▄█
▀█▀
████▄▄██████▄▄████
█▄███▀█░░█████░░█▀███▄█
▀█▄▄░▐█████████▌▄▄█▀
██▄▄█████████▄▄████▌
██████▄▄████████
█▀▀████████████████
██████
█████████████
██
█▀▀██████████████
▀▀▀███████████▀▀▀▀
|.
    PLAY NOW    
Bitco55
Member
**
Offline Offline

Activity: 252
Merit: 29


View Profile
February 02, 2024, 03:36:17 PM
 #15

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

ElonCoin.org    ElonCoin.org    ElonCoin.org     ElonCoin.org     ElonCoin.org    ElonCoin.org    ElonCoin.org
●          Mars, here we come!          ●
██ ████ ███ ██ ████ ███ ██   Join Discord   ██ ███ ████ ██ ███ ████ ██
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!