I think it is bad to send them one by one. Also, in total that will require 
more resources and cost more in fees. You should probably find a reasonable 
limit for the number of outputs and create a few larger transactions if 
your number of addresses exceed that limit.

Den fredag 14 oktober 2016 kl. 22:52:44 UTC+2 skrev Wei Hsu:
> Given a large number of output addresses, what's the best way to send a 
> payment to each one? Assuming the wallet balance is sufficient.
> If I send the payments one by one in quick succession, I might get 
> an InsufficientMoneyException if some of the funds are tied up in change.
> I've also tried combining it all into one transaction, but that could 
> result in a transaction that exceeds the maximum transaction size if a lot 
> of inputs are required, or a lot of output addresses are specified.
> I'd appreciate any ideas on how to approach this- thanks in advance!

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