feat(network): verify Zakura header roots before storing#485
Conversation
Wire header-sync root verification through the reactor and startup driver so only header-authenticated confirmed root prefixes are persisted and rebuilt across restarts.
Analyzed 14 files, diff |
Summary
Test plan
cargo fmt --all -- --checkcargo test -p zebra-chain commitment_aux_verifycargo test -p zebra-state best_header_history_treecargo test -p zebra-network deliver_rootless_solicited_headers_does_not_disconnect_the_peerStack
Depends on the state confirmed-roots PR.
AI disclosure
Used Cursor to split PR #458 into stacked branches and prepare this PR.