Bitcoin Forum
October 17, 2018, 03:17:27 PM *
News: Make sure you are not using versions of Bitcoin Core other than 0.17.0 [Torrent], 0.16.3, 0.15.2, or 0.14.3. 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!