Bitcoin Forum
April 25, 2024, 05:10:01 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Bug in bitcoin client fee calculation?  (Read 583 times)
fusebox (OP)
Newbie
*
Offline Offline

Activity: 37
Merit: 0


View Profile
August 08, 2011, 07:36:19 AM
 #1

Is there a bug in the bitcoin client calculation that wipes out your total balance:

Why was the fee on this tx  .00218755
http://blockexplorer.com/tx/3156bc06624e735c89b39cb5c10d105f7afcea530359db07e17c02a9fd6608a9#o0

Shouldn't it have been .0015?   (2x >1kb penalty, plus 1x for recent coin spend).  That's what the bitcoin gui suggested...
This effectivly took all the residual out of the wallet.. IE, we had a balance of .12218755 and tried to send it but it failed due to the fee requirement.   So we changed the amount to send to .12... and approved the .0015 fee.. but the transaction ended up wiping out the balance.   Presumably a client bug if you have to renter a transaction after being blocked due to the fee.

Would be nice if the client actually explained how the fee calculation breaks down.
The Bitcoin network protocol was designed to be extremely flexible. It can be used to create timed transactions, escrow transactions, multi-signature transactions, etc. The current features of the client only hint at what will be possible in the future.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714021801
Hero Member
*
Offline Offline

Posts: 1714021801

View Profile Personal Message (Offline)

Ignore
1714021801
Reply with quote  #2

1714021801
Report to moderator
1714021801
Hero Member
*
Offline Offline

Posts: 1714021801

View Profile Personal Message (Offline)

Ignore
1714021801
Reply with quote  #2

1714021801
Report to moderator
fusebox (OP)
Newbie
*
Offline Offline

Activity: 37
Merit: 0


View Profile
August 08, 2011, 07:48:38 AM
 #2

This one confuses me too:
http://blockexplorer.com/tx/7215c863958d49c58af1ef34cf45c821a0ec3583ed3335c1a4579228ba13c04a#inputs

size < 1kb
balance > 120 confirmation
tx > .01 BTC...
Yet client assessed a .0015 fee.
Maged
Legendary
*
Offline Offline

Activity: 1204
Merit: 1015


View Profile
August 08, 2011, 03:07:14 PM
 #3

This is the result of a bug being reintroduced due to a code reorganization that sends outputs <.01 BTC as a fee. It will be resolved in the next release.

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!