Skip to content

WIP: fix(network): disconnect exclusive peers and disable downloads on leave-network#59

Draft
lukyrys wants to merge 18 commits into
mainfrom
fix/428-leave-network-disconnect
Draft

WIP: fix(network): disconnect exclusive peers and disable downloads on leave-network#59
lukyrys wants to merge 18 commits into
mainfrom
fix/428-leave-network-disconnect

Conversation

@lukyrys

@lukyrys lukyrys commented Jul 9, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Disconnect peers exclusive to a left lishnet, while keeping shared/infrastructure peers connected
  • Disable downloads whose only joined lishnet was left
  • Gate unicast LISH discovery and chunk requests behind a shared joined lishnet
  • Keep peer-disconnect subscriptions alive across node restarts
  • Add dev scripts and tests covering leave-network peer-disconnect scenarios

Test plan

  • Unit/integration tests pass
  • Live 2-node leave-network verification

@lukyrys lukyrys changed the title fix(network): disconnect exclusive peers and disable downloads on leave-network WIP: fix(network): disconnect exclusive peers and disable downloads on leave-network Jul 9, 2026
@lukyrys
lukyrys force-pushed the fix/428-leave-network-disconnect branch from e0aff62 to c1fb566 Compare July 10, 2026 10:56
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