aboutsummaryrefslogtreecommitdiff
path: root/src/index/coinstatsindex.h
diff options
context:
space:
mode:
authorFabian Jahr <fjahr@protonmail.com>2020-08-22 20:21:20 +0200
committerFabian Jahr <fjahr@protonmail.com>2021-04-19 20:31:02 +0200
commit2501576eccb08af80471c7b7b843b189ad6758c0 (patch)
tree31891e04458f1c36128d3418ebc36e3ac5c9253a /src/index/coinstatsindex.h
parent655d929836a71af23d2035d2e2e99ad8b8c340c3 (diff)
downloadbitcoin-2501576eccb08af80471c7b7b843b189ad6758c0.tar.xz
rpc, index: Add verbose amounts tracking to Coinstats index
Diffstat (limited to 'src/index/coinstatsindex.h')
-rw-r--r--src/index/coinstatsindex.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/index/coinstatsindex.h b/src/index/coinstatsindex.h
index 4d57e80770..6149f9b4b3 100644
--- a/src/index/coinstatsindex.h
+++ b/src/index/coinstatsindex.h
@@ -24,6 +24,15 @@ private:
uint64_t m_transaction_output_count{0};
uint64_t m_bogo_size{0};
CAmount m_total_amount{0};
+ CAmount m_total_subsidy{0};
+ CAmount m_block_unspendable_amount{0};
+ CAmount m_block_prevout_spent_amount{0};
+ CAmount m_block_new_outputs_ex_coinbase_amount{0};
+ CAmount m_block_coinbase_amount{0};
+ CAmount m_unspendables_genesis_block{0};
+ CAmount m_unspendables_bip30{0};
+ CAmount m_unspendables_scripts{0};
+ CAmount m_unspendables_unclaimed_rewards{0};
bool ReverseBlock(const CBlock& block, const CBlockIndex* pindex);