heatmaps: part 19

This commit is contained in:
nym21
2026-06-01 13:20:34 +02:00
parent 4b49a04186
commit 46b888337c
14 changed files with 573 additions and 520 deletions
+2 -2
View File
@@ -5,8 +5,8 @@ const MIN_LOG_BTC: i32 = -8;
const MAX_LOG_BTC: i32 = 4;
pub const NUM_BINS: usize = BINS_PER_DECADE * (MAX_LOG_BTC - MIN_LOG_BTC) as usize;
/// Per-block round-dollar payment counts, one `u32` per log-scale bin: the
/// oracle's ring-buffer element and the `histogram/raw/*` wire payload.
/// Per-bin integer counts on the oracle log scale: used for both oracle-eligible
/// payment histograms and unfiltered output histograms.
pub type HistogramRaw = Histogram<u32, NUM_BINS>;
/// Smoothed EMA over the window, one `f64` per bin. The stencil search reads it,