Skip to content

Verify native catch-up through a persisted discovered Simnet peer - #119

Draft
DeepFriedBlockchains wants to merge 1 commit into
test/phase6-local-cross-network-handshake-20261128from
test/phase6-discovered-native-catchup-20261129
Draft

DeepFriedBlockchains wants to merge 1 commit into
test/phase6-local-cross-network-handshake-20261128from
test/phase6-discovered-native-catchup-20261129

Conversation

@DeepFriedBlockchains

Copy link
Copy Markdown
Owner

Extend the validated private peer discovery scenario with native block synchronization while the sole configured bootstrap remains unavailable. Start three independent Simnet daemons in an isolated Linux network namespace. A is the only explicitly configured peer for fresh C, which learns B through A. After A stops, B and C agree on a native anchor. C then stops while B has no peers and accepts six native blocks. Reopen C from the same directory with the unchanged unavailable A configuration and verify that its only outbound connection is B. Both daemons must return the exact recovered hashes in order, agree on virtual DAA and pruning state, and relay and select one more native block.

The scoped CI test uses the existing namespace harness that checks the absence of host routes. Local Rust formatting, YAML parsing, shell syntax and diff checks passed. The execution environment denied network-namespace creation, so runtime evidence is pending Actions.

Base is exact #109 head 18c72dc1ac0ddbf23109a8546933e99b7f210a95 and includes the existing #95 discovery and peerstore controls.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant