Bitcoin Forum
April 28, 2024, 05:44:22 AM *
News: Latest Bitcoin Core release: 27.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 105 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!
Each block is stacked on top of the previous one. Adding another block to the top makes all lower blocks more difficult to remove: there is more "weight" above each block. A transaction in a block 6 blocks deep (6 confirmations) will be very difficult to remove.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714283062
Hero Member
*
Offline Offline

Posts: 1714283062

View Profile Personal Message (Offline)

Ignore
1714283062
Reply with quote  #2

1714283062
Report to moderator
1714283062
Hero Member
*
Offline Offline

Posts: 1714283062

View Profile Personal Message (Offline)

Ignore
1714283062
Reply with quote  #2

1714283062
Report to moderator
Rath_
aka BitCryptex
Legendary
*
Offline Offline

Activity: 1876
Merit: 3131



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: 2954
Merit: 4165


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.

.
.HUGE.
▄██████████▄▄
▄█████████████████▄
▄█████████████████████▄
▄███████████████████████▄
▄█████████████████████████▄
███████▌██▌▐██▐██▐████▄███
████▐██▐████▌██▌██▌██▌██
█████▀███▀███▀▐██▐██▐█████

▀█████████████████████████▀

▀███████████████████████▀

▀█████████████████████▀

▀█████████████████▀

▀██████████▀▀
█▀▀▀▀











█▄▄▄▄
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
.
CASINSPORTSBOOK
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀▀█











▄▄▄▄█
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!