You are viewing a single comment's thread from:
RE: Witness Essentials: Watcher (Docker & Signing-Key Support)
Thanks for the evaluation!
To test missed blocks, you could do something like this
if (witness.total_missed > _g.current_total_missed || true) {
let missed_since_start = (witness.total_missed - _g.start_total_missed) + 1
https://github.com/witness-essentials/watcher/blob/master/src/index.ts#L36