Musicoin / desktop

The official Musicoin Desktop Wallet Application
https://musicoin.org
Other
115 stars 67 forks source link

Have a transaction history tab #276

Closed Varunram closed 5 years ago

Varunram commented 6 years ago

Having a list of my transactions under a tab would be really useful. It helps users see to whom they've paid recently without having to navigate the explorer, which only shows limited history.

We should ideally have three columns - txid, payee address and no. of confirmations. The background / any indicator should be red if the tx has zero confs, orange if the number of confirmations is between 0 and 50 and green if the tx has more than 50 confirmations. This must be displayed under a separate tab called "My transactions" which would exist along with "My accounts" on the new screen after #275. The tx ids must have an hyperlink to explorer so that people can check there as well.

This would also require people to have some logic for tracking the height at which coins are spent, which doesn't exist right now. Making a web3 call every time is not a solution, instead we must have a separate data structure in order to handle this. I think gmc already has one for this, so maybe we could repurpose that.