Bitcoin Forum
March 29, 2024, 12:42:53 PM *
News: Latest Bitcoin Core release: 26.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1] 2 »  All
  Print  
Author Topic: why there is change address.  (Read 428 times)
uchegod-21 (OP)
Hero Member
*****
Offline Offline

Activity: 896
Merit: 584


BTC, a coin of today and tomorrow.


View Profile
November 25, 2021, 06:07:55 PM
Merited by ABCbits (1), Pmalek (1)
 #1

I read that when you sent bitcoin to someone the output you are sending is the balance of the input you receive last. So you will not use the balance in your wallet until the transaction is confirm and your balance is send back to you through change address.
Quote from:  Elyse Jupiter
Consider the example of taking a $20 bill out of your wallet to pay for a $5 cup of coffee. You would give the $20 to the cashier, and the cashier would give you back the $15. While the $15 belongs to you, it is not available for the time it takes the cashier to give you back your change
But if am using my ordinary fiat wallet and I use $20 to pay bill and I still have other dollars in my wallet I can use them to buy other things before my change will come. Why is  bitcoin spending different.

R


▀▀▀▀▀▀▀██████▄▄
████████████████
▀▀▀▀█████▀▀▀█████
████████▌███▐████
▄▄▄▄█████▄▄▄█████
████████████████
▄▄▄▄▄▄▄██████▀▀
LLBIT
  CRYPTO   
FUTURES
 1,000x 
LEVERAGE
COMPETITIVE
    FEES    
 INSTANT 
EXECUTION
.
   TRADE NOW   
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.
1711716173
Hero Member
*
Offline Offline

Posts: 1711716173

View Profile Personal Message (Offline)

Ignore
1711716173
Reply with quote  #2

1711716173
Report to moderator
1711716173
Hero Member
*
Offline Offline

Posts: 1711716173

View Profile Personal Message (Offline)

Ignore
1711716173
Reply with quote  #2

1711716173
Report to moderator
1711716173
Hero Member
*
Offline Offline

Posts: 1711716173

View Profile Personal Message (Offline)

Ignore
1711716173
Reply with quote  #2

1711716173
Report to moderator
OmegaStarScream
Staff
Legendary
*
Offline Offline

Activity: 3430
Merit: 6083



View Profile
November 25, 2021, 06:28:50 PM
 #2

It's good for your privacy, here's a pretty good (and simple) explanation by Exodus: https://support.exodus.com/article/109-what-are-change-addresses#receive

Also, I don't see the problem? since even though the funds are being sent to another address, they would remain in the same software wallet, so it really doesn't affect the UX at all.

█▀▀▀











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











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
jackg
Copper Member
Legendary
*
Offline Offline

Activity: 2856
Merit: 3071


https://bit.ly/387FXHi lightning theory


View Profile
November 25, 2021, 06:30:10 PM
 #3

I read that when you sent bitcoin to someone the output you are sending is the balance of the input you receive last. So you will not use the balance in your wallet until the transaction is confirm and your balance is send back to you through change address.
Quote from:  Elyse Jupiter
Consider the example of taking a $20 bill out of your wallet to pay for a $5 cup of coffee. You would give the $20 to the cashier, and the cashier would give you back the $15. While the $15 belongs to you, it is not available for the time it takes the cashier to give you back your change
But if am using my ordinary fiat wallet and I use $20 to pay bill and I still have other dollars in my wallet I can use them to buy other things before my change will come. Why is  bitcoin spending different.


What your bank does is store a number for your balance and they keep changing this number based on the transactions you do.

With bitcoin you send funds to someone and the change back to yourself (often to your change address).

As to why this is actually done, I'm not sure - it might allow for privacy to be improved or security in some ways.
BitMaxz
Legendary
*
Offline Offline

Activity: 3206
Merit: 2907


Block halving is coming.


View Profile WWW
November 25, 2021, 06:31:49 PM
Merited by NeuroticFish (2)
 #4

It depends on what wallet you use because there are some wallets that doesn't have a change address or you can disable it manually like Electrum you can disable that function.

Change address was generated for privacy purposes and it is an address where the remainder is being sent to your other address after you send a specified amount to the receiver.

Actually, it's no different there is also a coin control feature where you can choose any UTXO to spend. It is likely you have other dollars in your wallet sample you have $20 and $5 in your pocket since the coffee price is $5 you can pay it with your $5.

█▀▀▀











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











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
LoyceV
Legendary
*
Online Online

Activity: 3262
Merit: 16327


Thick-Skinned Gang Leader and Golden Feather 2021


View Profile WWW
November 25, 2021, 06:31:56 PM
Merited by ABCbits (1)
 #5

Quote from:  Elyse Jupiter
Consider the example of taking a $20 bill out of your wallet to pay for a $5 cup of coffee. You would give the $20 to the cashier, and the cashier would give you back the $15. While the $15 belongs to you, it is not available for the time it takes the cashier to give you back your change
Bitcoin change is instant: it's available at the exact same moment you make your transaction (but it might depend on wallet settings, in Bitcoin Core I've ticked "Spend unconfirmed change").

Quote
But if am using my ordinary fiat wallet and I use $20 to pay bill and I still have other dollars in my wallet I can use them to buy other things before my change will come. Why is  bitcoin spending different.
If you have multiple inputs in your wallet, you can use them separately. Or all at once. "Coin control" is the keyword you're looking for.



Does (for instance) Bitcoin "change" explained help?

█▀▀▀











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











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
uchegod-21 (OP)
Hero Member
*****
Offline Offline

Activity: 896
Merit: 584


BTC, a coin of today and tomorrow.


View Profile
November 25, 2021, 07:52:48 PM
 #6

It's good for your privacy, here's a pretty good (and simple) explanation by Exodus: https://support.exodus.com/article/109-what-are-change-addresses#receive

Also, I don't see the problem? since even though the funds are being sent to another address, they would remain in the same software wallet, so it really doesn't affect the UX at all.

This link is helpful to me.

R


▀▀▀▀▀▀▀██████▄▄
████████████████
▀▀▀▀█████▀▀▀█████
████████▌███▐████
▄▄▄▄█████▄▄▄█████
████████████████
▄▄▄▄▄▄▄██████▀▀
LLBIT
  CRYPTO   
FUTURES
 1,000x 
LEVERAGE
COMPETITIVE
    FEES    
 INSTANT 
EXECUTION
.
   TRADE NOW   
uchegod-21 (OP)
Hero Member
*****
Offline Offline

Activity: 896
Merit: 584


BTC, a coin of today and tomorrow.


View Profile
November 25, 2021, 08:04:14 PM
 #7

It depends on what wallet you use because there are some wallets that doesn't have a change address or you can disable it manually like Electrum you can disable that function.

Change address was generated for privacy purposes and it is an address where the remainder is being sent to your other address after you send a specified amount to the receiver.

Actually, it's no different there is also a coin control feature where you can choose any UTXO to spend. It is likely you have other dollars in your wallet sample you have $20 and $5 in your pocket since the coffee price is $5 you can pay it with your $5.

I read where it is said that the change address is use to make the public not to know the amount of bitcoin someone has in his balance.
Quote from: Exodus
For Example: if a transaction for 1 BTC moves a 2 BTC UTXO from Address X to Address Y, and the 1 BTC of change is returned to Address X, it would be obvious that Address X paid Address Y. On the other hand, if the 1 BTC of change is returned to a change address, Address Z, it wouldn’t be clear if the original payment of 1 BTC was meant for Address Y or Address Z, since both received 1 BTC
Those wallet that has not change address how will they solve the problem of privacy mention by Exodus?

R


▀▀▀▀▀▀▀██████▄▄
████████████████
▀▀▀▀█████▀▀▀█████
████████▌███▐████
▄▄▄▄█████▄▄▄█████
████████████████
▄▄▄▄▄▄▄██████▀▀
LLBIT
  CRYPTO   
FUTURES
 1,000x 
LEVERAGE
COMPETITIVE
    FEES    
 INSTANT 
EXECUTION
.
   TRADE NOW   
TheArchaeologist
Sr. Member
****
Offline Offline

Activity: 306
Merit: 727


---------> 1231006505


View Profile WWW
November 25, 2021, 08:15:15 PM
Merited by ABCbits (2)
 #8

Those wallet that has not change address how will they solve the problem of privacy mention by Exodus?
They do not. If you choose to re-use an address for change you give that up. It's a matter of personal choice, even though it is not a very wise choice to do so. Although you should know giving up privacy in this case does not automatically mean it is clear which person/entity is connected to the address. But the other way around is true: as soon as it is clear address X belongs to person Z it means you can trace back every payment done and received to/by the re-used address of person Z because all bitcoin transactions are public.

Sooner or later you're going to realize, just as I did, that there's a difference between knowing the path and walking the path
nc50lc
Legendary
*
Offline Offline

Activity: 2366
Merit: 5429


Self-proclaimed Genius


View Profile
November 26, 2021, 03:28:50 AM
 #9

-snip- So you will not use the balance in your wallet until the transaction is confirm and your balance is send back to you through change address.
Actually, this isn't because of the change address but because 'Bitcoin Transaction' is "UTXO" based (more info).
Each unspent transaction output in the blockchain should be spent whole so if you need to spend one with the huge amount, you'll need to send the excess amount to another address in your wallet
which is usually sent to a 'change address' but can also be sent to a 'receiving address' depending on the wallet.
So even if you disable change address, the rest of the amount from the UTXO that you're spending should be sent to an address;
Otherwise, it will be added to the transaction fee.

Your wallet is making you wait for confirmation, it must be because it's set to wait for confirmation before spending a UTXO (the change of the unconfirmed transaction).
Some wallets have a setting to be able to spend unconfirmed unspent transaction outputs.

..JAMBLER.io..Create Your Bitcoin Mixing
Business Now for   F R E E 
▄█████████████████████████████
█████████████████████████
████▀████████████████████
███▀█████▄█▀███▀▀▀██████
██▀█████▄█▄██████████████
██▄▄████▀▄▄▄▀▀▀▀▀▄▄██████
█████▄▄▄██████████▀▄████
█████▀▄█▄██████▀█▄█████
███████▀▄█▀█▄██▀█▄███████
█████████▄█▀▄█▀▄█████████
█████████████████████████
█████████████████████████
▀█████████████████████████████
█████████████████████████████████████████████████
.
      OUR      
PARTNERS

.
█████████████████████████████████████████████████
████▄
██
██
██
██
██
██
██
██
██
██
██
████▀
▄█████████████████████████████
████████▀▀█████▀▀████████
█████▀█████████████▀█████
████████████████████████
███████████████▄█████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████▀█████████
████████████████████████
█████▄█████████████▄█████
████████▄▄█████▄▄████████
▀█████████████████████████████
█████████████████████████████████████████████████
.
   INVEST   
BITCOIN

.
█████████████████████████████████████████████████
████▄
██
██
██
██
██
██
██
██
██
██
██
████▀
Pmalek
Legendary
*
Offline Offline

Activity: 2716
Merit: 7033


Farewell, Leo. You will be missed!


View Profile
November 26, 2021, 07:55:43 AM
 #10

I read that when you sent bitcoin to someone the output you are sending is the balance of the input you receive last.
Good non-custodial wallets such as Electrum allow you to select which inputs you want to spend from. It's a feature that was already mentioned in this thread and it's known as coin control. You control and decide which input to spend from. Therefore, you can select the first, the last, the smallest, or the biggest input in your wallet. 

Quote from:  Elyse Jupiter
Consider the example of taking a $20 bill out of your wallet to pay for a $5 cup of coffee. You would give the $20 to the cashier, and the cashier would give you back the $15. While the $15 belongs to you, it is not available for the time it takes the cashier to give you back your change
The comparison with individual bills is a good one. Each time someone sends you bitcoin to your personnel wallet (not an account on an exchange), that becomes a new bill that you have. The amounts don't matter, each transaction is a new separate unit. 

But if am using my ordinary fiat wallet and I use $20 to pay bill and I still have other dollars in my wallet I can use them to buy other things before my change will come. Why is  bitcoin spending different.
Again, it depends on how many UTXOs (bills) you have in your wallet. If you have multiple, you can spend one of those while you are waiting for your $20 UTXO to be confirmed on chain.

..JAMBLER.io..Create Your Bitcoin Mixing
Business Now for   F R E E 
▄█████████████████████████████
█████████████████████████
████▀████████████████████
███▀█████▄█▀███▀▀▀██████
██▀█████▄█▄██████████████
██▄▄████▀▄▄▄▀▀▀▀▀▄▄██████
█████▄▄▄██████████▀▄████
█████▀▄█▄██████▀█▄█████
███████▀▄█▀█▄██▀█▄███████
█████████▄█▀▄█▀▄█████████
█████████████████████████
█████████████████████████
▀█████████████████████████████
█████████████████████████████████████████████████
.
      OUR      
PARTNERS

.
█████████████████████████████████████████████████
████▄
██
██
██
██
██
██
██
██
██
██
██
████▀
▄█████████████████████████████
████████▀▀█████▀▀████████
█████▀█████████████▀█████
████████████████████████
███████████████▄█████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████▀█████████
████████████████████████
█████▄█████████████▄█████
████████▄▄█████▄▄████████
▀█████████████████████████████
█████████████████████████████████████████████████
.
   INVEST   
BITCOIN

.
█████████████████████████████████████████████████
████▄
██
██
██
██
██
██
██
██
██
██
██
████▀
uchegod-21 (OP)
Hero Member
*****
Offline Offline

Activity: 896
Merit: 584


BTC, a coin of today and tomorrow.


View Profile
November 26, 2021, 02:07:44 PM
 #11

Those wallet that has not change address how will they solve the problem of privacy mention by Exodus?
They do not. If you choose to re-use an address for change you give that up. It's a matter of personal choice, even though it is not a very wise choice to do so.
Ok. it is not good but people that don't want delay can like it too.
Quote
Good non-custodial wallets such as Electrum allow you to select which inputs you want to spend from. It's a feature that was already mentioned in this thread and it's known as coin control. You control and decide which input to spend from. Therefore, you can select the first, the last, the smallest, or the biggest input in your wallet.
Very very much good. This is what i mean. So their is a solution. Wehdone.

Quote
So even if you disable change address, the rest of the amount from the UTXO that you're spending should be sent to an address;
Otherwise, it will be added to the transaction fee.
This is bad, if I forget to send to an address all the amount from UTXO will be added to the transaction fee. Has this thing happen to somebody before?



R


▀▀▀▀▀▀▀██████▄▄
████████████████
▀▀▀▀█████▀▀▀█████
████████▌███▐████
▄▄▄▄█████▄▄▄█████
████████████████
▄▄▄▄▄▄▄██████▀▀
LLBIT
  CRYPTO   
FUTURES
 1,000x 
LEVERAGE
COMPETITIVE
    FEES    
 INSTANT 
EXECUTION
.
   TRADE NOW   
nc50lc
Legendary
*
Offline Offline

Activity: 2366
Merit: 5429


Self-proclaimed Genius


View Profile
November 26, 2021, 03:07:32 PM
Merited by pooya87 (2), ABCbits (2), hosseinimr93 (2)
 #12

So even if you disable change address, the rest of the amount from the UTXO that you're spending should be sent to an address;
Otherwise, it will be added to the transaction fee.
This is bad, if I forget to send to an address all the amount from UTXO will be added to the transaction fee. Has this thing happen to somebody before?
No, a well-written client/wallet will send the remaining amount to your 'receiving address' or back to the same address if 'change address' is disabled/not available.
It will only happen if you will create the transaction by hand and forgot to specify a change address, eg. through Bitcoin Core's createrawtransaction command.
I haven't heard of a wallet that fails to do that and forgot to claim the remaining balance from the UTXO.

..JAMBLER.io..Create Your Bitcoin Mixing
Business Now for   F R E E 
▄█████████████████████████████
█████████████████████████
████▀████████████████████
███▀█████▄█▀███▀▀▀██████
██▀█████▄█▄██████████████
██▄▄████▀▄▄▄▀▀▀▀▀▄▄██████
█████▄▄▄██████████▀▄████
█████▀▄█▄██████▀█▄█████
███████▀▄█▀█▄██▀█▄███████
█████████▄█▀▄█▀▄█████████
█████████████████████████
█████████████████████████
▀█████████████████████████████
█████████████████████████████████████████████████
.
      OUR      
PARTNERS

.
█████████████████████████████████████████████████
████▄
██
██
██
██
██
██
██
██
██
██
██
████▀
▄█████████████████████████████
████████▀▀█████▀▀████████
█████▀█████████████▀█████
████████████████████████
███████████████▄█████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████▀█████████
████████████████████████
█████▄█████████████▄█████
████████▄▄█████▄▄████████
▀█████████████████████████████
█████████████████████████████████████████████████
.
   INVEST   
BITCOIN

.
█████████████████████████████████████████████████
████▄
██
██
██
██
██
██
██
██
██
██
██
████▀
The Cryptovator
Legendary
*
Offline Offline

Activity: 2198
Merit: 2165


Need PR/CMC & CG? TG @The_Cryptovator


View Profile WWW
November 26, 2021, 05:21:01 PM
 #13

This is bad, if I forget to send to an address all the amount from UTXO will be added to the transaction fee. Has this thing happen to somebody before?
This would happen if you are using a single address like a paper wallet. Yes, it has happened previously. You may read it here, WARNING: How I lost Bitcoins using a paper wallet . The problem is paper wallet unable to indicate the change address. As a result, the change fund would transfer to a change address that isn't handled by you. It would move into the miner address who validates the transaction.

You may read Binance academy explanation about change address and paper wallet, so you may realize what is the danger of using paper wallet because of change address.

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

Activity: 2478
Merit: 2807


Top Crypto Casino


View Profile WWW
November 26, 2021, 07:26:54 PM
Merited by pooya87 (2), hosseinimr93 (2), ABCbits (1)
 #14

This would happen if you are using a single address like a paper wallet. Yes, it has happened previously. You may read it here, WARNING: How I lost Bitcoins using a paper wallet . The problem is paper wallet unable to indicate the change address. As a result, the change fund would transfer to a change address that isn't handled by you. It would move into the miner address who validates the transaction.
This won't happen if you import the private key from  paper wallet into one of the known biwallet apps and use it to create the transaction. Even if your wallet consists of a single address, the app will send the change amount (if any) back to it.
The problem isn't due to having a single address but due to creating the raw transaction manually and forgetting to specify a change address (or using a poorly coded app).

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


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
uchegod-21 (OP)
Hero Member
*****
Offline Offline

Activity: 896
Merit: 584


BTC, a coin of today and tomorrow.


View Profile
November 26, 2021, 08:57:12 PM
 #15

So even if you disable change address, the rest of the amount from the UTXO that you're spending should be sent to an address;
Otherwise, it will be added to the transaction fee.
This is bad, if I forget to send to an address all the amount from UTXO will be added to the transaction fee. Has this thing happen to somebody before?
No, a well-written client/wallet will send the remaining amount to your 'receiving address' or back to the same address if 'change address' is disabled/not available.
It will only happen if you will create the transaction by hand and forgot to specify a change address, eg. through Bitcoin Core's createrawtransaction command.
I haven't heard of a wallet that fails to do that and forgot to claim the remaining balance from the UTXO.
Ok. Thank you there is so many thing to know.

You may read Binance academy explanation about change address and paper wallet, so you may realize what is the danger of using paper wallet because of change address.
I click the link and it confirm that Alice can lost her bitcoin to miner if she use paper wallet to send to Bob if she did not create a change address.

R


▀▀▀▀▀▀▀██████▄▄
████████████████
▀▀▀▀█████▀▀▀█████
████████▌███▐████
▄▄▄▄█████▄▄▄█████
████████████████
▄▄▄▄▄▄▄██████▀▀
LLBIT
  CRYPTO   
FUTURES
 1,000x 
LEVERAGE
COMPETITIVE
    FEES    
 INSTANT 
EXECUTION
.
   TRADE NOW   
The Cryptovator
Legendary
*
Offline Offline

Activity: 2198
Merit: 2165


Need PR/CMC & CG? TG @The_Cryptovator


View Profile WWW
November 27, 2021, 02:58:49 AM
 #16

This would happen if you are using a single address like a paper wallet. Yes, it has happened previously. You may read it here, WARNING: How I lost Bitcoins using a paper wallet . The problem is paper wallet unable to indicate the change address. As a result, the change fund would transfer to a change address that isn't handled by you. It would move into the miner address who validates the transaction.
This won't happen if you import the private key from  paper wallet into one of the known biwallet apps and use it to create the transaction. Even if your wallet consists of a single address, the app will send the change amount (if any) back to it.
The problem isn't due to having a single address but due to creating the raw transaction manually and forgetting to specify a change address (or using a poorly coded app).
Yea, you are right. But if you read the article above there is a solution as well and were suggested to use a wallet during making a transaction. So that you shouldn't lose the funds due to a change address. I just point out potential risks due to a changed address when using a paper wallet or something like that was using only a single address. It's important to know about the risk, so you can find a possible solution.

I click the link and it confirm that Alice can lost her bitcoin to miner if she use paper wallet to send to Bob if she did not create a change address.
Fine, a good practice always could help you to prevent potential loss. Always use a wallet that is non-custodial and well-reputed. So you don't need to worry about changing your address.

.BEST..CHANGE.███████████████
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
███████████████
..BUY/ SELL CRYPTO..
larry_vw_1955
Sr. Member
****
Offline Offline

Activity: 1008
Merit: 348


View Profile
November 27, 2021, 05:03:55 AM
 #17

Quote
This is bad, if I forget to send to an address all the amount from UTXO will be added to the transaction fee. Has this thing happen to somebody before?


Uh, yeah it's happened to someone before. most people it doesn't happen to though. that does bring up a good point though. maybe there needs to be something in bitcoin core that prevents it from happening. just reject the transaction if the transaction fee is **too much** greater than the "average transaction fee".
nc50lc
Legendary
*
Offline Offline

Activity: 2366
Merit: 5429


Self-proclaimed Genius


View Profile
November 27, 2021, 08:26:51 AM
Merited by ABCbits (1)
 #18

Quote
-snip-
Uh, yeah it's happened to someone before. most people it doesn't happen to though. that does bring up a good point though. maybe there needs to be something in bitcoin core that prevents it from happening. just reject the transaction if the transaction fee is **too much** greater than the "average transaction fee".
The good thing is, there actually is a setting for that (start parameter or bitcoin.conf entry):
maxtxfee = sets the maximum transaction fee in BTC that your node can broadcast/relay,
The default is 0.1BTC, still too high but at least it can prevent >1BTC disasters.

Bitcoin-qt - 'Help->Command-line options', under "Debugging/Testing options:":
Quote
-maxtxfee=<amt>
Maximum total fees (in BTC) to use in a single wallet transaction; setting this too low may abort large transactions (default: 0.10)

..JAMBLER.io..Create Your Bitcoin Mixing
Business Now for   F R E E 
▄█████████████████████████████
█████████████████████████
████▀████████████████████
███▀█████▄█▀███▀▀▀██████
██▀█████▄█▄██████████████
██▄▄████▀▄▄▄▀▀▀▀▀▄▄██████
█████▄▄▄██████████▀▄████
█████▀▄█▄██████▀█▄█████
███████▀▄█▀█▄██▀█▄███████
█████████▄█▀▄█▀▄█████████
█████████████████████████
█████████████████████████
▀█████████████████████████████
█████████████████████████████████████████████████
.
      OUR      
PARTNERS

.
█████████████████████████████████████████████████
████▄
██
██
██
██
██
██
██
██
██
██
██
████▀
▄█████████████████████████████
████████▀▀█████▀▀████████
█████▀█████████████▀█████
████████████████████████
███████████████▄█████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████▀█████████
████████████████████████
█████▄█████████████▄█████
████████▄▄█████▄▄████████
▀█████████████████████████████
█████████████████████████████████████████████████
.
   INVEST   
BITCOIN

.
█████████████████████████████████████████████████
████▄
██
██
██
██
██
██
██
██
██
██
██
████▀
larry_vw_1955
Sr. Member
****
Offline Offline

Activity: 1008
Merit: 348


View Profile
November 28, 2021, 03:09:46 AM
 #19


The good thing is, there actually is a setting for that (start parameter or bitcoin.conf entry):
maxtxfee = sets the maximum transaction fee in BTC that your node can broadcast/relay,
The default is 0.1BTC, still too high but at least it can prevent >1BTC disasters.


Yeah as if 0.1 btc isn't a large enough disaster. 0.1 btc is around $5000 so that's kind of alot to pay for a txn fee but I guess some people do that?? Shocked Whoever those devs are that set the default to 0.1btc must know some pretty big whales.

maybe that default setting is a carryover from something satoshi setup and they just never updated it Cheesy


o_e_l_e_o
In memoriam
Legendary
*
Offline Offline

Activity: 2268
Merit: 18497


View Profile
November 28, 2021, 09:05:09 AM
Merited by ABCbits (1)
 #20

Yeah as if 0.1 btc isn't a large enough disaster. 0.1 btc is around $5000 so that's kind of alot to pay for a txn fee but I guess some people do that?? Shocked Whoever those devs are that set the default to 0.1btc must know some pretty big whales.

maybe that default setting is a carryover from something satoshi setup and they just never updated it Cheesy
It was first discussed back in 2015, when 0.1 BTC was worth around $20-30: https://github.com/bitcoin/bitcoin/pull/7084

It was originally defined as a rate of 10,000 times higher than the minimum relay transaction fee, which is 1000 sats per kB or 1 sat/byte, which worked out to 0.1 BTC per kB or 10,000 sats per byte. It was then switched to flat rate of 0.1 BTC. This is not an unreasonable amount given that there are plenty of consolidation transactions with 500+ inputs them. The limit is mostly there to stop someone emptying out their entire wallet of dozens of BTC by mistake, not to stop users overspending on fees.
Pages: [1] 2 »  All
  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!