Bitcoin Forum
September 22, 2018, 01:34:05 PM *
News: ♦♦ New info! Bitcoin Core users absolutely must upgrade to previously-announced 0.16.3 [Torrent]. All Bitcoin users should temporarily trust confirmations slightly less. More info.
   Home   Help Search Donate Login Register  
Pages: [1]
Author Topic: avoid sub-cent change (lost in fees) whenever possible  (Read 962 times)
Offline Offline

Activity: 2422
Merit: 1011

View Profile
March 01, 2011, 08:28:29 PM

Pull request:

Starting a thread here, since it's not possible to comment on GitHub without agreeing to finance a legal battle when they get sued.

Quote from: gavinandresen
Looks good at first glance. Can we brainstorm test cases that we think might cause problems?
E.g. Wallet with (only) available transactions of +1 +2.0001 +3 : Send 6 bitcoins; what happens?
Same wallet, send 2 (I think you'll get a 2.0001+1 spend with 1.0001 change)...
Any other tricky edge cases?
In your first case, it should send 6 with a 0.0001 fee (this one is UNavoidable).

Pages: [1]
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!