simplify transaction lookup
cleanup indexes that are no longer necessary
cache tx keys on block writes