Extract bootstrap verify policy (#5095)
* Extract bootstrap verify policy
verify: frontiers and blocks response validation extracted from
bootstrap_context and frontier_strategy into bootstrap/verify.{hpp,cpp}
as free functions over (payload, typed query). The blocks
chain-continuity check and frontiers ordering/range checks now have
direct unit coverage.
verify_result moves to bootstrap/common.hpp.
* Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
---------
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
__________
Type: commit
Hash: 651f2ea74631f5ca80a326797b4b66f56807740b
Created: yesterday
__________
gr0v1ty/nano-node:651f2ea74631f5ca80a326797b4b66f56807740b
| Test Case | Status | Duration | Median Deviation | Log | Graph |
|---|---|---|---|---|---|
| 5n4pr_conf_10k_bintree | PASS | 113 s | 3.0 s | - | Show |
| 5n4pr_conf_10k_change | PASS | 218 s | 22.0 s | - | Show |
| 5n4pr_conf_change_dependant | PASS | 196 s | 85.0 s | - | - |
| 5n4pr_conf_change_independant | PASS | 116 s | 7.0 s | - | - |
| 5n4pr_conf_send_dependant | PASS | 111 s | 0.0 s | - | - |
| 5n4pr_conf_send_independant | PASS | 112 s | 1.0 s | - | - |
| 5n4pr_rocks_10k_bintree | PASS | 111 s | -3.0 s | - | - |
| 5n4pr_rocks_10k_change | PASS | 237 s | 57.0 s | - | - |