Reimplement wallet_get_transaction_history (resolves #13)