Fantom-foundation / Norma

Integration project of Carmen and Tosca
GNU Lesser General Public License v3.0
2 stars 9 forks source link

[QoL] Ended nodes now disapppear from live log #284

Closed rpl-ffl closed 4 days ago

rpl-ffl commented 1 week ago

Currently, when a node ends, the latest value for the node will still be tracked and displayed:

duration: 60
nodes:
  - name: observer
    end: 30

At time 40:

Nodes: 2, 
block heights: [3/20 3/20 3/15],  # observer irrelevant
tx/s: [33.58209 33.58209 1.8621974],  # observer irrelevant
txs: 9, 
gas: 258237, 
block processing: [2.378ms 2.928ms 781.976µs]  # observer irrelevant

This PR addresses this by making sure that the live tracker is using different tracker than historical data tracker.

rpl-ffl commented 4 days ago

Deprecated by https://github.com/Fantom-foundation/Norma/pull/288