Bitcoin Forum
December 13, 2024, 03:51:49 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: More Input-Values than necessary. How/why is this possible? No it is not the fee  (Read 123 times)
corvo.kaan (OP)
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
May 03, 2020, 08:11:12 AM
 #1

The TXID I am talking about: 21179a8560a0a0906f0c3396af338f74528130d46b65b7f0c79c378d343b3177

blockchain.com link: https://www.blockchain.com/btc/tx/21179a8560a0a0906f0c3396af338f74528130d46b65b7f0c79c378d343b3177

3JZq4atUahhuA9rLhXLMhhTo133J9rF97j is a known Exchange-Address.

Within above listed transaction there are multiple output-transactions which this address has received referenced as input-transaction to pay 1Kr6QSydW9bFQG1mXiPNNu6WpJGmUa9i1g.

In the above transaction, the source address 3JZq4a.. issues 7 previously received transactions to pay the target address 1Kr6QSy... with 2000 BTC, the rest goes back to its Change address.

My question now is why 7 transactions are "consumed" for this, when it would have worked with a fraction of the transactions. For example the 7793.90573 BTC transaction.

My first assumption was that this is somehow chronologically handled by the wallet, but even if that were the case, according to the listing in the blockchain explorer after the first 4 referenced transactions used as input, the sum would be sufficient.

131,37735 BTC

1687,1255 BTC

157,79525 BTC

395,876 BTC

Are the first Transactions consumed and the result already exceeds 2k BTC.

I am thankful for any help and ideas!
Rath_
aka BitCryptex
Legendary
*
Offline Offline

Activity: 1876
Merit: 3139



View Profile
May 03, 2020, 08:19:07 AM
 #2

My question now is why 7 transactions are "consumed" for this, when it would have worked with a fraction of the transactions. For example the 7793.90573 BTC transaction.

It is a fee saving measure. Transaction fees are relatively low right now so it is a perfect time for consolidating inputs . In case they need to send a lot of coins when transaction fees spike, they won't have to pay an arm and a leg for a transaction since it will consist of only one input and x outputs. The more inputs and outputs you have, the more your transaction weights and the more you have to pay.
ranochigo
Legendary
*
Offline Offline

Activity: 3052
Merit: 4443


Crypto Swap Exchange


View Profile
May 03, 2020, 08:20:24 AM
 #3

There are a lot of factors when it comes to inputs selection. You're right in a sense that they could have used a few of the inputs instead of all of them. However, it is not exactly the most cost-efficient way of doing it.

If you analyse the address, you'll realise that for that address, there's only one UTXO. My theory is that the exchange is trying to save on fees and thus attempts to consolidate inputs by spending all of them in order to generate one UTXO in the end.

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
corvo.kaan (OP)
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
May 03, 2020, 08:24:47 AM
 #4

Thank you very much for your quick answers!

I was not familiar with the concept of consolidating inputs, but it makes perfect sense!

Thanks again for your insights!
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!