Exchange node capabilities when performing network handshake (#5043) * Add enum_flags bitfield wrapper Introduce `enum_flags<E>` template providing a std::bitset-like API for power-of-2 flag enums with set/reset/test operations, bitwise operators, and magic_enum-based string conversion. * Add V3 handshake with node capabilities field Extend the handshake protocol to advertise node capabilities as a bitfield in the response payload. Replace the v2 optional with a variant over v1/v2/v3 payloads and propagate capabilities to the channel on connection.
__________
Type: commit
Hash: 6f405e005fc79c4d25af031c2b2854e25d95d060
Created: 2 day(s) ago
__________
gr0v1ty/nano-node:6f405e005fc79c4d25af031c2b2854e25d95d060
| Test Case | Status | Duration | Median Deviation | Log | Graph |
|---|---|---|---|---|---|
| 5n4pr_conf_10k_bintree | PASS | 118 s | -4.0 s | - | Show |
| 5n4pr_conf_10k_change | PASS | 134 s | -51.0 s | - | Show |
| 5n4pr_conf_change_dependant | PASS | 149 s | 6.0 s | - | - |
| 5n4pr_conf_change_independant | PASS | 134 s | -10.5 s | - | - |
| 5n4pr_conf_send_dependant | PASS | 130 s | -7.0 s | - | - |
| 5n4pr_conf_send_independant | PASS | 126 s | -8.0 s | - | - |
| 5n4pr_rocks_10k_bintree | PASS | 118 s | -5.0 s | - | - |
| 5n4pr_rocks_10k_change | FAIL | 284 s | 3.0 s | Show | - |