I have a wallet that pays lots of small amounts in the range of 0.x to 5 BTC. I filled the wallet with one transaction of 50 BTC, so there is only one large input contained. Now when i transfer 0.5 BTC anywhere, the transaction has two outputs - 0.5 for the receiver and 49.5 change. Problem is that as long as this transaction is not confirmed the wallet is more or less blocked, as it only contains 49.5 unconfirmed balance.
So basically I end up with one transaction per block, as i need to wait for the change to be confirmed until i can create the next tx.
Edit: Note that I am using the rawtransactions API and when constructing a transaction i only want to use confirmed outputs (from "listunspent" command) as inputs for the new tx.
What is the best way to split the big output in the wallet into something like e.g. 10*5.0 BTC?