Since the faucet now breaks records in half, creating more than one
big record at a time, we can generate multiple simultaneous transfers
when breaking up records, and then wait for them all at the same time,
rather than waiting for a transfer to complete before even building
the next one. Sometimes, we do not have to wait for the transfers to
complete at all.
This change also has the record breaker thread hold the wallet lock
less often, and simplifies the start-up process which waits for new
records to be created.
Since the faucet now breaks records in half, creating more than one big record at a time, we can generate multiple simultaneous transfers when breaking up records, and then wait for them all at the same time, rather than waiting for a transfer to complete before even building the next one. Sometimes, we do not have to wait for the transfers to complete at all.
This change also has the record breaker thread hold the wallet lock less often, and simplifies the start-up process which waits for new records to be created.
Closes #1169