[wip] rewrite transactionrate to be resumable.
* separate process to advance the ledger