Bitcoin Forum
November 11, 2024, 12:46:34 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Output amount is wrong  (Read 157 times)
vieveda (OP)
Newbie
*
Offline Offline

Activity: 16
Merit: 1


View Profile
December 02, 2019, 08:11:06 AM
 #1

For an exampel if I preveiw a transaction where the send amount is 0.12 BTC with a fee of 0.00004 and preciew another transaction where the send amount is 0.19 BTC with a fee of 0.00004 then "Sum of outputs" of both the preciews is 0.2 BTC. I guess that I once had an input of 0.2 BTC?
However, is this wrong? Should it be 0.12 BTC + fee as an output and 0.19 BTC + fee?

I don't know if it matters but I restored my armory wallet. If I hover the question mark of the "sum of outputs" it says:
"Most transactions have at least a recipient output and a return-change output. You do not have enough information to determine which is which, and so this fields shows the sum of all outputs".

My armory is online and I can make transactions with it. Wallet version is 1.35
bitmover
Legendary
*
Offline Offline

Activity: 2478
Merit: 6317


bitcoindata.science


View Profile WWW
December 02, 2019, 03:22:27 PM
 #2

This happens because you cannot split an input. Everything is correct don't worry.

You probably have one input of 0.2 btc. You cannot just send 0.19 or 0.12. you have to send 0.2 and the remaining (the change) will go back to you in a new generated address, called change address. The change address is yours , and it is a newly generated input for you to spend when you want.

An input is generated each time you receive a transaction. If you received 0.1 and then 0.1 again you will have 2 inputs of 0.1 each. You cannot split them, only by making a new transaction and a change address.

Armory is  a good wallet, but there are many better  imo. Electrum.org is a better one and electrum allows you to see each input you have (it is called Coin, in coin tab)

vieveda (OP)
Newbie
*
Offline Offline

Activity: 16
Merit: 1


View Profile
December 02, 2019, 10:17:50 PM
Merited by bitmover (1)
 #3

This happens because you cannot split an input. Everything is correct don't worry.

You probably have one input of 0.2 btc. You cannot just send 0.19 or 0.12. you have to send 0.2 and the remaining (the change) will go back to you in a new generated address, called change address. The change address is yours , and it is a newly generated input for you to spend when you want.


Ok so if I send 0.12 btc will the receiver see that I actually sends 0.2 btc?
bitmover
Legendary
*
Offline Offline

Activity: 2478
Merit: 6317


bitcoindata.science


View Profile WWW
December 02, 2019, 11:35:21 PM
 #4

Ok so if I send 0.12 btc will the receiver see that I actually sends 0.2 btc?

Exactly.
He will be able to see all past transactions you did from that address.

Go to blockchain.com and insert your address there. He will be able to see that.
https://www.blockchain.com/btc/address/***your_address**

He will be able to see the transaction of the person (or exchange) who gave you the 0.2 BTC, all the past transactions of that person/exchange address, and your address balance.

This is why it is very important to always generate a new address when receiving funds.

Not everyone will know that your new address (the change address) is yours, so it will be slightly more private than your old one


goatpig
Moderator
Legendary
*
Offline Offline

Activity: 3752
Merit: 1364

Armory Developer


View Profile
December 03, 2019, 08:17:06 AM
 #5

For an exampel if I preveiw a transaction where the send amount is 0.12 BTC with a fee of 0.00004 and preciew another transaction where the send amount is 0.19 BTC with a fee of 0.00004 then "Sum of outputs" of both the preciews is 0.2 BTC. I guess that I once had an input of 0.2 BTC?
However, is this wrong? Should it be 0.12 BTC + fee as an output and 0.19 BTC + fee?

I don't know if it matters but I restored my armory wallet. If I hover the question mark of the "sum of outputs" it says:
"Most transactions have at least a recipient output and a return-change output. You do not have enough information to determine which is which, and so this fields shows the sum of all outputs".

My armory is online and I can make transactions with it. Wallet version is 1.35

A bitcoin transaction is broken down into 2 section.

1) Inputs point to previous outputs, they redeem the entire value of their respective output and make these available to the transcation

2) Outputs assign the available balance to new recipients. Any value that is no assigned is burned as fee.

The "sum of outputs" field informs you about how much BTC was redeemed by the transaction's inputs. The wallet assigns your spend value to the payment address, and the left over back to one of your addresses as change. In the transaction detail dialog you can see the change as greyed out.

You should always compare the sum of outputs value vs what you are paying, and if they differ, make sure your transaction has a change output. These are the baseline steps to verify your transaction before signing, besides double checking the payment address and spend value.

Quote
Armory is  a good wallet, but there are many better  imo. Electrum.org is a better one and electrum allows you to see each input you have (it is called Coin, in coin tab)

Armory had coin control before Electrum had deterministic wallets.

vieveda (OP)
Newbie
*
Offline Offline

Activity: 16
Merit: 1


View Profile
December 03, 2019, 10:08:13 PM
 #6

Ok so if I send 0.12 btc will the receiver see that I actually sends 0.2 btc?

Exactly.
He will be able to see all past transactions you did from that address.

Go to blockchain.com and insert your address there. He will be able to see that.
https://www.blockchain.com/btc/address/***your_address**

He will be able to see the transaction of the person (or exchange) who gave you the 0.2 BTC, all the past transactions of that person/exchange address, and your address balance.

This is why it is very important to always generate a new address when receiving funds.

Not everyone will know that your new address (the change address) is yours, so it will be slightly more private than your old one


Ok, what if I send 1 btc to an exchange and then sends 1 btc back to my wallet (new address). Will I see in that transaction that that btc came from my wallet in the first place? Or is it another bitcoin with another history? Smiley
HCP
Legendary
*
Offline Offline

Activity: 2086
Merit: 4361

<insert witty quote here>


View Profile
December 03, 2019, 11:57:42 PM
Last edit: November 15, 2023, 02:12:22 AM by HCP
 #7

I feel like I may have confused you in the other thread regarding "Sum of Outputs" and "Total Leaving Wallet". Please note that the "sum of outputs" on the preview dialog and the "Total Leaving Wallet" on the transaction confirmation dialog will not be the same if you have coins returning to a change address in your wallet.

Hopefully these screenshots from the two different dialogs (for the same transaction) will help clarify...

"Preview" dialog:



"Confirmation" dialog:



In the preview, you can see that the wallet is consuming UTXOs worth 0.2994 BTC... however, only 0.10053741 (0.1 spent + 0.00053741 fee) is actually "leaving" the wallet... the balance will be returned as "change". The key takeaway here, is that you really want to make sure that the "Total Leaving Wallet" value is what you expect (and should be "total you want to send + fee")

█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
bitmover
Legendary
*
Offline Offline

Activity: 2478
Merit: 6317


bitcoindata.science


View Profile WWW
December 04, 2019, 01:19:38 AM
 #8


Ok, what if I send 1 btc to an exchange and then sends 1 btc back to my wallet (new address). Will I see in that transaction that that btc came from my wallet in the first place? Or is it another bitcoin with another history? Smiley
If you want to make your coins "anonymous" , you should use a  proper service. Sending your coins back and forth to he exchange won't work.
I recommend that you use a Bitcoin mixer or coin join.

A Bitcoin mixer will mix your coins with other people's coins , and then give you someone else's coins back to you.

Chipmixer is the most trusted mixer service in this community, and nobody has problems using it.

Just send your coins to chipmixer and they will be "pseudo anonymous" (the best you can do)
https://chipmixer.com/

nc50lc
Legendary
*
Offline Offline

Activity: 2590
Merit: 6366


Self-proclaimed Genius


View Profile
December 04, 2019, 03:45:17 AM
 #9

what if I send 1 btc to an exchange and then sends 1 btc back to my wallet (new address). Will I see in that transaction that that btc came from my wallet in the first place? Or is it another bitcoin with another history? Smiley
First, read goatpig's reply above.

If the Exchange decided to use the same UTXO (unspent output) from your deposit TX, then you will see that it came from your wallet,
but other spectators like blockexplorers wont know if it was sent back to the same wallet since you've used a different receiving address.
If they used a different UTXO (usually consolidated) then it's "another bitcoin".

What are the follow-up questions for? For privacy reasons?
Because if it's an Exchange with KYC/AML, they and their connections will know that it's you who sent/received the funds.
Even no KYC, they still can tell that the user have deposited from 'address X' and withdrew to 'address Y' linking the two addresses.

█▀▀▀











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











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
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!