Skip to content

Commit

Permalink
client/asset/eth: Transaction History (decred#2504)
Browse files Browse the repository at this point in the history
* client/asset/eth: Transaction 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 authored Oct 3, 2023
1 parent 8bfa710 commit f389639
Show file tree
Hide file tree
Showing 5 changed files with 1,717 additions and 276 deletions.
Loading

0 comments on commit f389639

Please sign in to comment.