Skip to content

Commit

Permalink
client/asset/eth: Transaction History
Browse files Browse the repository at this point in the history
This diff updates the ETH wallet to support the asset.WalletHistorian
interface. Since ETH RPC nodes do not support querying the transactions
an account has made, the transactions are stored locally in a database.
Initially they are stored with a block number of 0 and the max possible
fees, but when the transaction is confirmed, these values are updated.

The pending transaction tracking used for more accurate balance reporting
is updated to use the same data as required for tracking pending
transactions for the wallet history. Also, the database used for monitoring
pending redemption transactions and resubmitting them is upgraded to be
used for both that functionality and the new tx history functionality.
  • Loading branch information
martonp committed Sep 17, 2023
1 parent bf4887e commit 4441186
Show file tree
Hide file tree
Showing 6 changed files with 1,718 additions and 443 deletions.
Loading

0 comments on commit 4441186

Please sign in to comment.