fix tx_index + add cache for unconfirmed transactions