From 5b74dbfddd9b64289746fe1bb401147d133cd754 Mon Sep 17 00:00:00 2001 From: Jack Grigg Date: Mon, 23 Jan 2023 23:45:01 +0000 Subject: [PATCH] metrics: Update `zcash.pool.value.zatoshis` gauge for transparent pool --- src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp index 9b25cf7a8..5a5bd9e95 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -3896,7 +3896,7 @@ struct PoolMetrics { static PoolMetrics Transparent(CBlockIndex *pindex, CCoinsViewCache *view) { PoolMetrics stats; - // TODO: Collect transparent pool value. + stats.value = pindex->nChainTransparentValue; // TODO: Figure out a way to efficiently collect UTXO set metrics // (view->GetStats() is too slow to call during block verification).