Test Details Overview

Report blocks refused for their work apart from overfill and hold unchecked_map's flag by value (#5315)

* Count pulled blocks refused for their work on their own

block_processor::add_many reported blocks with too little work and
blocks its queue had no room for as one number. The bootstrap
submission counted that number as an overfill and asserted on it in
debug builds, although a pull answer is not checked for work before
it is submitted.

add_many now reports the two kinds separately, and the bootstrap
submission counts each under its own stat without asserting.

* Hold unchecked_map's disable_delete flag by value

unchecked_map kept a reference to its disable_delete constructor
argument. The node passed a member of its flags, but the tests passed
a literal, which left the reference dangling once the constructor
returned, and one test helper kept a member alive just to give the
reference something to bind to.

The flag never changes after construction, so the map keeps a copy.
The header's parameter was named do_delete, the opposite of what it
means, and now matches the definition.

__________

Type: commit

Hash: 9ff1a346f752d391b3ecb687329a6c3b6020f9af

Created: yesterday

__________

gr0v1ty/nano-node:9ff1a346f752d391b3ecb687329a6c3b6020f9af

Test Results

Test Case Status Duration Median Deviation Log Graph
5n4pr_conf_10k_bintree FAIL 180 s 72.0 s Test log Show
5n4pr_conf_10k_change FAIL 271 s 139.0 s Test log Show
5n4pr_conf_change_dependant PASS 108 s 3.0 s GitHub job logs -
5n4pr_conf_change_independant PASS 121 s 15.0 s GitHub job logs -
5n4pr_conf_send_dependant PASS 99 s -2.0 s GitHub job logs -
5n4pr_conf_send_independant PASS 118 s 8.0 s GitHub job logs -
5n4pr_rocks_10k_bintree FAIL 193 s 80.0 s Test log -
5n4pr_rocks_10k_change FAIL 276 s 118.0 s Test log -