Compute cached vote weight only when the ballot is actually full Insert only consults cached_tally on the full-ballot path, yet publish paid the vote cache scan, the weight lookups and an unlock/relock for every new fork. Try the plain insert first and fall back to the scan and a retry only on rejection; this also folds the separate contains_block pre-check into insert's updated outcome.
__________
Type: commit
Hash: 8a6383e12033f514e6aa84f73f137cb71fa26fbc
Created: 21 day(s) ago
__________
gr0v1ty/nano-node:8a6383e12033f514e6aa84f73f137cb71fa26fbc
| Test Case | Status | Duration | Median Deviation | Log | Graph |
|---|---|---|---|---|---|
| 5n4pr_conf_10k_bintree | PASS | 113 s | 0.0 s | - | Show |
| 5n4pr_conf_10k_change | PASS | 130 s | -19.0 s | - | Show |
| 5n4pr_conf_change_dependant | PASS | 107 s | -7.0 s | - | - |
| 5n4pr_conf_change_independant | PASS | 138 s | 23.0 s | - | - |
| 5n4pr_conf_send_dependant | PASS | 118 s | 4.0 s | - | - |
| 5n4pr_conf_send_independant | PASS | 110 s | -5.0 s | - | - |
| 5n4pr_rocks_10k_bintree | PASS | 123 s | 6.0 s | - | - |
| 5n4pr_rocks_10k_change | PASS | 168 s | 5.0 s | - | - |