use new transaction_indexer to send unconfirmed transactions in fetch_history.
typo: log_to_both should also output to file.