Files
fips/src/control/snapshots/show_tree.json
T
Johnathan Corgan cb5a32693e tree: remove redundant parent_switched metric counter
parent_switched was incremented on the line immediately before
parent_switches at every site and never independently, so the two
counters were always identical. Drop parent_switched from TreeMetrics,
its snapshot, TreeStatsSnapshot, the show_tree fixture, and the fipstop
render, keeping parent_switches as the sole counter.
2026-07-12 15:53:03 +00:00

38 lines
969 B
JSON

{
"data": {
"declaration_sequence": 1,
"declaration_signed": true,
"depth": 0,
"is_root": true,
"my_coords": [
"1b4788b7ab7a436a611fc59fb1e34c6e"
],
"my_node_addr": "1b4788b7ab7a436a611fc59fb1e34c6e",
"parent": "1b4788b7ab7a436a611fc59fb1e34c6e",
"parent_display_name": "1b4788b7...",
"peer_tree_count": 0,
"peers": [],
"root": "1b4788b7ab7a436a611fc59fb1e34c6e",
"root_npub": "npub1sx42mj99aql52aklsg70y2jmr95u7uz2p40k769aw46ppjv302kqkhmu5r",
"stats": {
"accepted": 0,
"addr_mismatch": 0,
"ancestry_changed": 0,
"ancestry_invalid": 0,
"decode_error": 0,
"flap_dampened": 0,
"loop_detected": 0,
"outbound_sign_failed": 0,
"parent_losses": 0,
"parent_switches": 0,
"rate_limited": 0,
"received": 0,
"send_failed": 0,
"sent": 0,
"sig_failed": 0,
"stale": 0,
"unknown_peer": 0
}
},
"status": "ok"
}