Batch send SCP and SPF in two transactions
Remove the scp_from_csv
command from spc. Add a scprimebatch
command to spc that will allow the CSV to contain both coin and fund
outputs. The command will then bundle up and send all coin outputs in
one multi-spend transaction and all fund outputs into a second
multi-spend transaction. Before sending the two transaction off it will
also test to see if both transactions are fundable and will refuse to
send either transaction if both transactions will not be able to be
sent. Lastly, if only coins or funds (but not both) exist in the CSV
then only one multi-spend transaction will be created and sent.
Note: The protocol and wallet code support bundling up and sending both coin and fund outputs in the same transaction but some 3rd party software (and possibly the explorer module code) currently relies on this not happening so using two transactions instead of one allows us to maintain backwards compatability.