Peer persistence hooks: capture before stop, reinject after start

Clients (esp. discovery-disabled OP-stack EL) lose peers across recreate.
Generic peer-capture/peer-reinject hooks + force-recreate wiring restore
the peerset from local peer-state via in-network admin_addPeer.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
rob
2026-07-19 05:25:27 +00:00
parent db81e62c73
commit 2919960697
4 changed files with 286 additions and 1 deletions

4
.gitignore vendored
View File

@@ -11,3 +11,7 @@ peer-backups/
snapshots/
*.bak
*.swp
# Task C local peer capture state
peer-state/