Ninjastic
Home
Search
Users
Boards
Addresses
Ctrl + K
Toggle theme
Open menu
Post
Edited versions
Quotes to this post
Post
3947292
Topic
367188
Board
Bitcoin Technical Support
Re: question about transferring money from many addresses bitcoind
by
cnk
on
13/12/2013, 10:48:25 UTC
Quote from: shark255 on December 11, 2013, 03:12:19 PM
What is withdrawal logic ? It takes money from random addressess if only total amount allows to do its operation?
bitcoind uses stochastic approximation to select a subset of unspent outputs to spend.
(actual code :
https://github.com/bitcoin/bitcoin/blob/master/src/wallet.cpp#L1043-L1185
)
There is an old thread about it here:
https://bitcointalk.org/index.php?topic=29207.0