clients: snapshot

This commit is contained in:
nym21
2026-01-12 08:48:12 +01:00
parent 5826d78e35
commit 8fe0af349d
19 changed files with 5280 additions and 3272 deletions

View File

@@ -1,4 +1,4 @@
/** Build cohort data arrays from brk.tree */
/** Build cohort data arrays from brk.metrics */
import {
termColors,
@@ -28,8 +28,8 @@ const entries = (obj) =>
* @param {BrkClient} brk
*/
export function buildCohortData(colors, brk) {
const utxoCohorts = brk.tree.distribution.utxoCohorts;
const addressCohorts = brk.tree.distribution.addressCohorts;
const utxoCohorts = brk.metrics.distribution.utxoCohorts;
const addressCohorts = brk.metrics.distribution.addressCohorts;
const {
TERM_NAMES,
EPOCH_NAMES,