Bitcoin Forum
April 25, 2024, 09:13:58 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Bitcoin-qt: change handling broken?  (Read 1152 times)
Draino (OP)
Full Member
***
Offline Offline

Activity: 168
Merit: 100



View Profile
June 30, 2012, 03:16:23 AM
 #1

So, the address bitcoin-qt sent my change to isn't on the "recieve coins" list.  Is this normal?

Also, why does it send the change to a difference address for every damn transaction I make?  I like playing a few bitcoin games, and over time my 5 BTC wouldn't do a transaction without a fee of .5-.7 because my change was spread so thin.

I decided to consolidate it.
https://blockchain.info/tx-index/10917315/111665f4b73085caac675b37ffb6571a7572eabd1444f5468fb209da71805c35

Really?  How is this convoluted mess useful?  So if I tried to backup my wallet that I thought had 5btc in it, I really would have been shit out of luck because it was actually spread among a list of adddresses 15 times too long to count?


I'm a good boy, so I try to be up to date with the client.. and for punishment, I can't import my wallet to armory.  Arbitrary wallet.dat changes through versions?  Sweet.  And I haven't found a way to export my private keys that works.

I have an extreme feeling in my gut that the developers have no idea what they're doing, and it's costing me money.  I'll give the benefit of the doubt and assume they're not bumbling when it comes to cryptography or whatever, but as far as desktop software.. holy cow.
1714079638
Hero Member
*
Offline Offline

Posts: 1714079638

View Profile Personal Message (Offline)

Ignore
1714079638
Reply with quote  #2

1714079638
Report to moderator
1714079638
Hero Member
*
Offline Offline

Posts: 1714079638

View Profile Personal Message (Offline)

Ignore
1714079638
Reply with quote  #2

1714079638
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
Raoul Duke
aka psy
Legendary
*
Offline Offline

Activity: 1358
Merit: 1002



View Profile
June 30, 2012, 03:28:37 AM
 #2

Those high fees are anti-spam measures, and from your description, that's what you've been doing: spamming the network playing SatoshiDice Grin

The different address for the change and it being hidden from the "Receive Coins" list is part of the protocol, and it's there to improve on anonymity, nothing's broken.

Maybe you should give a read to http://bitcoin.org/bitcoin.pdf and https://en.bitcoin.it/wiki/Main_Page before complaining about the way the protocol is designed Wink
theymos
Administrator
Legendary
*
Offline Offline

Activity: 5180
Merit: 12884


View Profile
June 30, 2012, 03:51:09 AM
 #3

Sending change to the same address wouldn't reduce fees. Some sort of "coin defragment" feature would help, but that's complex.

1NXYoJ5xU91Jp83XfVMHwwTUyZFK64BoAD
Draino (OP)
Full Member
***
Offline Offline

Activity: 168
Merit: 100



View Profile
June 30, 2012, 04:16:07 AM
 #4

The different address for the change and it being hidden from the "Receive Coins" list is part of the protocol, and it's there to improve on anonymity, nothing's broken.

Blockchain.info's doesn't handle change this way, and it doesn't require way above necessary fees, it lets me learn for myself if a transaction is going to take some time.  I don't get why if they can get it right, why the standard client can't, "protocol" notwithstanding.

If my cash wallet decided to put my change in a different secret pocket every time I bought something, it would go in the trash.  If that wallet also demanded increasing fees because my cash was spread so thin in so many different pockets.. contempt for the one who made it.
Draino (OP)
Full Member
***
Offline Offline

Activity: 168
Merit: 100



View Profile
June 30, 2012, 04:22:16 AM
 #5

Sending change to the same address wouldn't reduce fees. Some sort of "coin defragment" feature would help, but that's complex.

Ok, I guess I don't understand it exactly then, but I also don't understand why it refuses to let me send the transaction at all without requiring such a huge fee.

Wouldn't say a .01 btc fee almost certainly get through on the next block or so, since it's so much higher than the .0005 standard?  If that's the case, then why hold me hostage for many times that amount?
theymos
Administrator
Legendary
*
Offline Offline

Activity: 5180
Merit: 12884


View Profile
June 30, 2012, 04:24:31 AM
 #6

The client uses the fee rules that it would use if it was a miner. If all miners used the bitcoin.org client, not paying the required fee would certainly cause your transaction to get stuck forever. And there's no way to cancel a transaction. (Not all miners do use the bitcoin.org client and its fee rules, of course.)

1NXYoJ5xU91Jp83XfVMHwwTUyZFK64BoAD
Draino (OP)
Full Member
***
Offline Offline

Activity: 168
Merit: 100



View Profile
June 30, 2012, 04:29:49 AM
 #7

Ok, I figured it out.

The fee setting in options is per kB, I didn't realize that it scaled that way, so when I set it a bit higher to increase my transaction priority (for the health of the network!) it was then requesting ever higher ones at send time.

So now it makes a little more sense.
Raoul Duke
aka psy
Legendary
*
Offline Offline

Activity: 1358
Merit: 1002



View Profile
June 30, 2012, 05:24:17 AM
 #8

Ok, I figured it out.

The fee setting in options is per kB, I didn't realize that it scaled that way, so when I set it a bit higher to increase my transaction priority (for the health of the network!) it was then requesting ever higher ones at send time.

So now it makes a little more sense.

There's a little more to it than that.
Here is a good thread to explain the fees: https://bitcointalk.org/index.php?topic=90500.0
Bitsky
Hero Member
*****
Offline Offline

Activity: 576
Merit: 514


View Profile
June 30, 2012, 08:13:41 AM
 #9

So, the address bitcoin-qt sent my change to isn't on the "recieve coins" list.  Is this normal?
The addresses are marked as "reserve" and those aren't displayed; unless you use coincontrol.

Also, why does it send the change to a difference address for every damn transaction I make?
To support privacy up to some point. If you send out 1btc from an address holding 2btc, the other 1btc will go to another address (your reserve address), but from the blockexplorer you don't know which one is yours and which one is the real recipient. Or if both belong to other persons.
Having said that (and being a coincontrol user), I think it would be nice to let the user decide if the change should go back to the source address.

And I haven't found a way to export my private keys that works.
pywallet --dumpwallet

Bounty: Earn up to 68.7 BTC
Like my post? Feel free to drop a tip to 1BitskyZbfR4irjyXDaGAM2wYKQknwX36Y
Draino (OP)
Full Member
***
Offline Offline

Activity: 168
Merit: 100



View Profile
June 30, 2012, 10:06:23 AM
 #10

Quote from: Bitsky
To support privacy up to some point. If you send out 1btc from an address holding 2btc, the other 1btc will go to another address (your reserve address), but from the blockexplorer you don't know which one is yours and which one is the real recipient. Or if both belong to other persons.
Having said that (and being a coincontrol user), I think it would be nice to let the user decide if the change should go back to the source address.

I think it would be nice to let the use decide if the change shouldn'tgo back to the source address.  To me it feels like papa bitcoin is deciding what's good for me, simplicity and intuition be damned.  I'm a minimalist at heart, so maybe I'm being harsh.

Quote from: Bitsky
And I haven't found a way to export my private keys that works.
pywallet --dumpwallet

I tried that, and it gave me a 45mb file that I can't seem to do anything with.
flatfly
Legendary
*
Offline Offline

Activity: 1078
Merit: 1011

760930


View Profile
June 30, 2012, 10:30:11 AM
Last edit: June 30, 2012, 10:42:41 AM by flatfly
 #11

Quote from: Bitsky
To support privacy up to some point. If you send out 1btc from an address holding 2btc, the other 1btc will go to another address (your reserve address), but from the blockexplorer you don't know which one is yours and which one is the real recipient. Or if both belong to other persons.
Having said that (and being a coincontrol user), I think it would be nice to let the user decide if the change should go back to the source address.

I think it would be nice to let the use decide if the change shouldn'tgo back to the source address.  To me it feels like papa bitcoin is deciding what's good for me, simplicity and intuition be damned.  I'm a minimalist at heart, so maybe I'm being harsh.

Quote from: Bitsky
And I haven't found a way to export my private keys that works.
pywallet --dumpwallet

I tried that, and it gave me a 45mb file that I can't seem to do anything with.

No need for pywallet anymore, the following command should do it:  bitcoind -dumpprivkey [your_address] (while bitcoin-qt is running)

As for the option for not using change addresses, try the electrum lite client, it gives you full control over that behavior (in the expert settings)
Bitsky
Hero Member
*****
Offline Offline

Activity: 576
Merit: 514


View Profile
June 30, 2012, 10:44:43 AM
 #12

No need for pywallet anymore, the following command should do it:  bitcoind -dumpprivkey [your_address] (while bitcoin-qt is running)
True. Pywallet dumps a lot more interesting information though.

Bounty: Earn up to 68.7 BTC
Like my post? Feel free to drop a tip to 1BitskyZbfR4irjyXDaGAM2wYKQknwX36Y
Raoul Duke
aka psy
Legendary
*
Offline Offline

Activity: 1358
Merit: 1002



View Profile
June 30, 2012, 12:35:17 PM
 #13

No need for pywallet anymore, the following command should do it:  bitcoind -dumpprivkey [your_address] (while bitcoin-qt is running)
True. Pywallet dumps a lot more interesting information though.

And it also has the potential to destroy your wallet.dat file.
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!