Regarding your first question: Bitcoinj has a CoinSelector interface you
can implement. The defaut implementation always picks the oldest coins
(UTXOs) first, but you can implement a different strategy if you want.


On 07/03/2019 07.06, jh...@seekerslab.com wrote:
> For example
> 
> Think , My A wallet have 1 BTC.
> 
> If i try to send 0.6 BTC from A wallet to another Wallet, my bitcoinj
> generate new B wallet. and change coin 0.4 will be sent to B wallet
> 
> How can i send coin from specific address? and how can i keep change in
> my A wallet ?
> 
> Thank to read. 
> 
> -- 
> You received this message because you are subscribed to the Google
> Groups "bitcoinj" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to bitcoinj+unsubscr...@googlegroups.com
> <mailto:bitcoinj+unsubscr...@googlegroups.com>.
> For more options, visit https://groups.google.com/d/optout.


-- 
You received this message because you are subscribed to the Google Groups 
"bitcoinj" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bitcoinj+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to