ff5d651b6f
Use the standard Rust `chunks` function instead of hand coded cursors. Add a cleanup function to get rid of old unconfirmed outputs.