Bitcoin Forum
June 22, 2018, 06:07:25 AM *
News: Latest stable version of Bitcoin Core: 0.16.1  [Torrent]. (New!)
   Home   Help Search Donate Login Register  
Pages: [1]
Author Topic: avoid sub-cent change (lost in fees) whenever possible  (Read 929 times)
Offline Offline

Activity: 2366
Merit: 1001

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!