Bitcoin Forum
June 30, 2024, 02:35:24 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: MultBit Change transaction bug  (Read 1210 times)
heldertb (OP)
Full Member
***
Offline Offline

Activity: 242
Merit: 100


Blockchain-based Financial Ecosystem


View Profile WWW
September 28, 2014, 02:08:40 PM
 #1

Hello,

Every time I sent a transaction from my first address, a random amount of change (even not all what's left on the address) is sent to another address in my MultiBit wallet. Although multibit still shows a wrong balance on my first address (the balance it should be when the change is sent back to the same address). Even when I restart the blockchain on the first address, it still shows a wrong balance.
Why is Multibit not sending the change back to the same address the bitcoins came from?
Can someone help?

Thanks...

█▮▬█▀▀▀ YouHodler.com ▀▀▀█▬▮█
Keep Crypto. Get Cash
   Cool█▮ The highest Loan-to-Value ratio ▮ No minimum monthly payments and no hidden fees ▮ Major cryptocurrencies as collateral ▮█   Cool
shorena
Copper Member
Legendary
*
Offline Offline

Activity: 1498
Merit: 1520


No I dont escrow anymore.


View Profile WWW
September 28, 2014, 02:26:49 PM
 #2

Yes, the other address should be your 2nd address or multibit has changed the way it handles change. Even if your balance is e.g. 2.56711 BTC on a single address most of the time this balance consists of several unspend outputs you can control. Each TX uses one or more inputs (former unspend outputs) to generate one or more new outputs. Each input used has to be spend entirely or the "rest" will go to the miners. Multibit does all this for you in the background and tries to find the best inputs for your TX.
Lets say you have 2.56711 BTC and received them as the following outputs from a TX

- (A) 2 BTC
- (B) 0.50011 BTC
- (C) 0.067 BTC

keep in mind that usually this is more complex.

Now if you want to spend 0.5 BTC multibit can use (A) or (B), but not (C) but in any case you will have change. If we use (B) as the input for your new TX you get an output of 0.5 to the address you wanted to send the BTC to, 0.0001 as a fee and another output 0.00001 as change to one address multibit controlls for you. 0.00001 is actually bad because it is so little, so multibit might prefer to use (A), not entirely sure about that.

I hope this helps you to understand this behaviour.

Im not really here, its just your imagination.
heldertb (OP)
Full Member
***
Offline Offline

Activity: 242
Merit: 100


Blockchain-based Financial Ecosystem


View Profile WWW
September 28, 2014, 03:36:46 PM
 #3

Yes, the other address should be your 2nd address or multibit has changed the way it handles change. Even if your balance is e.g. 2.56711 BTC on a single address most of the time this balance consists of several unspend outputs you can control. Each TX uses one or more inputs (former unspend outputs) to generate one or more new outputs. Each input used has to be spend entirely or the "rest" will go to the miners. Multibit does all this for you in the background and tries to find the best inputs for your TX.
Lets say you have 2.56711 BTC and received them as the following outputs from a TX

- (A) 2 BTC
- (B) 0.50011 BTC
- (C) 0.067 BTC

keep in mind that usually this is more complex.

Now if you want to spend 0.5 BTC multibit can use (A) or (B), but not (C) but in any case you will have change. If we use (B) as the input for your new TX you get an output of 0.5 to the address you wanted to send the BTC to, 0.0001 as a fee and another output 0.00001 as change to one address multibit controlls for you. 0.00001 is actually bad because it is so little, so multibit might prefer to use (A), not entirely sure about that.

I hope this helps you to understand this behaviour.

I know how this system works. But I want the change back to the same address. Not to another address.
this is the transaction:
https://blockchain.info/tx-index/8de56c339ff1cab00e94fc2a5b032462112e5d913292bc90d7ec6544611e3baa

As you can see, I paid 0.01234862 BTC to the destination address. But the change from where it came from is sent to a completely different address... While Multibit doesn't show this in the transaction history of the address the BTC is sent from, meaning it still shows the old balance. So this is definitely a bug, and not just how Bitcoin transactions work

█▮▬█▀▀▀ YouHodler.com ▀▀▀█▬▮█
Keep Crypto. Get Cash
   Cool█▮ The highest Loan-to-Value ratio ▮ No minimum monthly payments and no hidden fees ▮ Major cryptocurrencies as collateral ▮█   Cool
shorena
Copper Member
Legendary
*
Offline Offline

Activity: 1498
Merit: 1520


No I dont escrow anymore.


View Profile WWW
September 28, 2014, 03:55:31 PM
 #4

-snip-
I know how this system works. But I want the change back to the same address. Not to another address.
this is the transaction:
https://blockchain.info/tx-index/8de56c339ff1cab00e94fc2a5b032462112e5d913292bc90d7ec6544611e3baa

As you can see, I paid 0.01234862 BTC to the destination address. But the change from where it came from is sent to a completely different address... While Multibit doesn't show this in the transaction history of the address the BTC is sent from, meaning it still shows the old balance. So this is definitely a bug, and not just how Bitcoin transactions work

From the dev to someone complaining about what you want (change back to same address):

Hi BitHits,

The change address chosen in MultiBit is fairly simple. It uses the second address in the wallet, if it is available. If there is only one address it uses that.

You can send a transaction to yourself no problem - it is one of the release tests I always do - so it will not generate invalid transactions.

The wallets in MultiBit are random key addresses so creating a new one for change addresses requires people to reback up their wallets. There has been at least one case where a paper wallet user deleted a wallet with change addresses in and lost bitcoin. With the current wallet creating new keys is a user driven operation.

If you want more complex change control then of course you have the choice of other wallets - MultiBit endeavours to keep things simple for new users.

It should definitly show in the balance, but IIRC multibit does not show balances of individual addresses anyway.

Im not really here, its just your imagination.
heldertb (OP)
Full Member
***
Offline Offline

Activity: 242
Merit: 100


Blockchain-based Financial Ecosystem


View Profile WWW
September 28, 2014, 04:03:47 PM
 #5

-snip-
I know how this system works. But I want the change back to the same address. Not to another address.
this is the transaction:
https://blockchain.info/tx-index/8de56c339ff1cab00e94fc2a5b032462112e5d913292bc90d7ec6544611e3baa

As you can see, I paid 0.01234862 BTC to the destination address. But the change from where it came from is sent to a completely different address... While Multibit doesn't show this in the transaction history of the address the BTC is sent from, meaning it still shows the old balance. So this is definitely a bug, and not just how Bitcoin transactions work

From the dev to someone complaining about what you want (change back to same address):

Hi BitHits,

The change address chosen in MultiBit is fairly simple. It uses the second address in the wallet, if it is available. If there is only one address it uses that.

You can send a transaction to yourself no problem - it is one of the release tests I always do - so it will not generate invalid transactions.

The wallets in MultiBit are random key addresses so creating a new one for change addresses requires people to reback up their wallets. There has been at least one case where a paper wallet user deleted a wallet with change addresses in and lost bitcoin. With the current wallet creating new keys is a user driven operation.

If you want more complex change control then of course you have the choice of other wallets - MultiBit endeavours to keep things simple for new users.

It should definitly show in the balance, but IIRC multibit does not show balances of individual addresses anyway.

Lol, this explains a lot...
Well that kinda sucks...
Any other good wallets out there? :p

█▮▬█▀▀▀ YouHodler.com ▀▀▀█▬▮█
Keep Crypto. Get Cash
   Cool█▮ The highest Loan-to-Value ratio ▮ No minimum monthly payments and no hidden fees ▮ Major cryptocurrencies as collateral ▮█   Cool
shorena
Copper Member
Legendary
*
Offline Offline

Activity: 1498
Merit: 1520


No I dont escrow anymore.


View Profile WWW
September 28, 2014, 04:08:50 PM
 #6

-snip-

Lol, this explains a lot...
Well that kinda sucks...
Any other good wallets out there? :p

I like bitcoin-core with coin controll enabled because it allows you to select which inputs to use, where the change goes etc. Basically full control. It comes with the burden of a full blockchain though Wink

But there are plenty wallets [1] I never tried, so maybe test a bit around.

[1] https://bitcoin.org/en/choose-your-wallet

Im not really here, its just your imagination.
heldertb (OP)
Full Member
***
Offline Offline

Activity: 242
Merit: 100


Blockchain-based Financial Ecosystem


View Profile WWW
September 28, 2014, 04:13:28 PM
 #7

-snip-

Lol, this explains a lot...
Well that kinda sucks...
Any other good wallets out there? :p

I like bitcoin-core with coin controll enabled because it allows you to select which inputs to use, where the change goes etc. Basically full control. It comes with the burden of a full blockchain though Wink

But there are plenty wallets [1] I never tried, so maybe test a bit around.

[1] https://bitcoin.org/en/choose-your-wallet

Yeah, Bitcoin-core is a pain because of the blockchain, oh well. I already started downloading it months ago, so why not continue with it.. :p

█▮▬█▀▀▀ YouHodler.com ▀▀▀█▬▮█
Keep Crypto. Get Cash
   Cool█▮ The highest Loan-to-Value ratio ▮ No minimum monthly payments and no hidden fees ▮ Major cryptocurrencies as collateral ▮█   Cool
shorena
Copper Member
Legendary
*
Offline Offline

Activity: 1498
Merit: 1520


No I dont escrow anymore.


View Profile WWW
September 28, 2014, 04:45:23 PM
 #8

-snip-

Yeah, Bitcoin-core is a pain because of the blockchain, oh well. I already started downloading it months ago, so why not continue with it.. :p

If you make sure you get a good node to sync [1] its not that painfull.


[1] https://bitcointalk.org/index.php?topic=800893.0

Im not really here, its just your imagination.
allgoodthings1
Sr. Member
****
Offline Offline

Activity: 270
Merit: 250


View Profile
September 28, 2014, 04:50:46 PM
 #9

My solution: Run three full nodes on a cheap VPS ($2/month each) (one would do fine, but I'm big on overkill) -- and use MultiBit for my software wallet.

IRS 501(c)(3) Public Charities That Accept Bitcoin https://bitcointalk.org/index.php?topic=758674.0
Avoid U.S. Taxes on Bitcoin. Give to Charity. https://bitcointalk.org/index.php?topic=627860.0
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!