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: 21 day(s) ago
__________
gr0v1ty/nano-node:769456146d44a6c4cd827c99a5201475601df2ba
| Test Case | Status | Duration | Median Deviation | Log | Graph |
|---|---|---|---|---|---|
| 5n4pr_conf_10k_bintree | PASS | 116 s | 0.0 s | - | Show |
| 5n4pr_conf_10k_change | PASS | 152 s | 1.0 s | - | Show |
| 5n4pr_conf_change_dependant | PASS | 140 s | 26.0 s | - | - |
| 5n4pr_conf_change_independant | PASS | 117 s | -1.0 s | - | - |
| 5n4pr_conf_send_dependant | PASS | 117 s | 1.0 s | - | - |
| 5n4pr_conf_send_independant | PASS | 117 s | 4.0 s | - | - |
| 5n4pr_rocks_10k_bintree | PASS | 118 s | 0.0 s | - | - |
| 5n4pr_rocks_10k_change | PASS | 231 s | 62.0 s | - | - |