According to description of rpc method: "Add inputs to a transaction until it has enough in value to meet its out value."
What i have:
- trying to send 5000 satoshis
- have thousand of unspent inputs in wallet
Steps:
- i'm calling createrawtransaction with empty inputs and my address-amount output
- use fundrawtransaction to fill needed amount
- to check that use decoderawtransaction
so, the transaction bitcoind build is https://tchain.btc.com/bfedf6fb29b699bf57573af4ebee370f48f7153015bb7110fa61fbb90ed0b072
uhm i see tons of inputs with amount > i wanted to send, fee is only 2073 so any of input with 10k satoshi was enough
so the final question, how it should work? according to description "until it has enough in value" it should take only one input from example above, but not so many.