anoma / anoma-archive

Reference implementation of the Anoma protocols in Rust.
https://anoma.net
GNU General Public License v3.0
425 stars 176 forks source link

Murisi/masp history #1195

Closed murisi closed 2 years ago

murisi commented 2 years ago

This branch implements a feature allowing users to view historical shielded and transparent transactions given the necessary keys. It also allows one to filter transactions by the addresses they pertain to or the tokens that they use. This is done using Tendermint transaction events and queries.

Invasive Changes

Limitations and Considerations

Other Changes

tzemanovic commented 2 years ago

I think the general approach is fine for short-term, but we'll need remain aware that this only works for tx_transfer. There are other types of transactions that may move balance (e.g. PoS tx_bond and tx_withdraw, but for withdrawal, we'd actually need to determine the amount from the storage, not from tx.data, because of slashing that may be applied in the transaction when it's executed)