Add threshold option to representatives RPC and representative_count command (#5124) * Add threshold option to representatives RPC and representative_count command * Add threshold option to representative_count RPC * Reduce copies in representative_count RPC Avoid copying the rep weights map when the threshold is zero or omitted, since the unfiltered count is just the map size.
__________
Type: commit
Hash: 37201babf9bc321f41daae22e36b89a76e0138b0
Created: yesterday
__________
gr0v1ty/nano-node:37201babf9bc321f41daae22e36b89a76e0138b0
| Test Case | Status | Duration | Median Deviation | Log | Graph |
|---|---|---|---|---|---|
| 5n4pr_conf_10k_bintree | PASS | 125 s | 11.0 s | - | Show |
| 5n4pr_conf_10k_change | PASS | 180 s | 20.0 s | - | Show |
| 5n4pr_conf_change_dependant | PASS | 107 s | -7.0 s | - | - |
| 5n4pr_conf_change_independant | PASS | 110 s | -4.0 s | - | - |
| 5n4pr_conf_send_dependant | PASS | 116 s | 0.0 s | - | - |
| 5n4pr_conf_send_independant | PASS | 154 s | 41.0 s | - | - |
| 5n4pr_rocks_10k_bintree | PASS | 137 s | 17.0 s | - | - |
| 5n4pr_rocks_10k_change | PASS | 166 s | -9.0 s | - | - |