Render config templates with a tree walk (#5186) --generate_config post-processed the library writer's output line by line and --update_config aligned two such outputs line by line, which asserted and produced garbage as soon as the two documents differed in shape, for example when the file set peering_port and the defaults did not. A small renderer in config_template now walks the table, writes headers and doc comments itself and comments a value out on request; the update variant compares each value with its default. The output of --generate_config is unchanged byte for byte. The diff and merge helpers leave tomlconfig along with the erase_default_values tooling that nothing used. Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
__________
Type: commit
Hash: 206759db0f6ea512eab73e6e71964366f89fb2ed
Created: yesterday
__________
gr0v1ty/nano-node:206759db0f6ea512eab73e6e71964366f89fb2ed
| Test Case | Status | Duration | Median Deviation | Log | Graph |
|---|---|---|---|---|---|
| 5n4pr_conf_10k_bintree | PASS | 110 s | -1.0 s | - | Show |
| 5n4pr_conf_10k_change | PASS | 149 s | 7.5 s | - | Show |
| 5n4pr_conf_change_dependant | PASS | 116 s | 1.0 s | - | - |
| 5n4pr_conf_change_independant | PASS | 110 s | -5.0 s | - | - |
| 5n4pr_conf_send_dependant | PASS | 112 s | -1.0 s | - | - |
| 5n4pr_conf_send_independant | PASS | 128 s | 13.5 s | - | - |
| 5n4pr_rocks_10k_bintree | PASS | 114 s | -1.0 s | - | - |
| 5n4pr_rocks_10k_change | PASS | 154 s | -6.0 s | - | - |