Test Details Overview

Observe a voting representative once per vote (#5189)

* Refresh an observed representative in place

Observing a known representative erased and reinserted its entry, which frees and allocates a
node for every counted vote. Updating the time of the existing entry only moves it within the
time index.

* Observe a voting representative once per vote

Every election that counted a hash of a vote observed its representative, which takes the online
weight lock once per hash although only the first call can change anything. The vote router now
announces a vote that at least one election holds before it reaches any of them, and the node
observes the representative there: once per vote and still ahead of every quorum check.

The observer applies the principal weight threshold the elections apply, so the same
representatives count towards the online weight. A representative is now also observed when its
vote reaches an election that only ignores it because of the vote cooldown.

__________

Type: commit

Hash: 769456146d44a6c4cd827c99a5201475601df2ba

Created: today

__________

gr0v1ty/nano-node:769456146d44a6c4cd827c99a5201475601df2ba

Test Results

Test Case Status Duration Median Deviation Log Graph