This attempts to add both transaction stats and payment stats, where one transaction can have many payments.
TODO:
[x] Define zindex CLI param, default to off
[x] Modify serialize/deserialize code to only write out when zindex=1
[x] If value of zindex changes, force reindex
[x] Remove fully shielded zxtns from shielding/deshielding category
[x] Fix bug in recognizing -zindex CLI param
[x] Fix issue in detecting when a reindex is needed
[x] Write notarization count to disk
[x] Return ntz count in JSON
[x] Fix issue with shielded %'s being 0
NOTE: This RPC output format is expected to change. Current key names we inherited from Bitcoin are confusing and I will standardize/organize things in a better way. The main level keys all apply to the entire transaction set, while the shielded_only section gives breakdowns of types of shielded transactions, just inside the shielded tx set.
WIP, but getting close to mergability.
This attempts to add both transaction stats and payment stats, where one transaction can have many payments.
TODO:
zindex
CLI param, default to offzindex=1
zindex
changes, force reindexNOTE: This RPC output format is expected to change. Current key names we inherited from Bitcoin are confusing and I will standardize/organize things in a better way. The main level keys all apply to the entire transaction set, while the
shielded_only
section gives breakdowns of types of shielded transactions, just inside the shielded tx set.Example output from HUSH mainnet: