Skip to content

Static peers mode - #164

Merged
owl352 merged 11 commits into
masterfrom
feat/static-p2p
Sep 5, 2026
Merged

Static peers mode#164
owl352 merged 11 commits into
masterfrom
feat/static-p2p

Conversation

@owl352

@owl352 owl352 commented Sep 5, 2026

Copy link
Copy Markdown
Collaborator

Issue

By design, new wallet settings must include screen with currently connected peers and list of static peers.

Things done

  • Implemented different p2p works modes:
    • dynamic (already exist) which based on peers discovery and separete pools for scan and broadcast.
    • static which based on user input per network and require minimum 1 entered peer
  • Implemented ipc's for changing p2p mode and write/read static peers list with validation
  • Implemented ipc which returns info about current peers in both modes:
    • host
    • port
    • userAgent
    • ping which measuring every 30 seconds
  • Implemented ipc which allows to ban peer's with selected ip
  • Implemented ipc which allows to add peer to dynamic list

@owl352 owl352 self-assigned this Sep 5, 2026
@owl352
owl352 marked this pull request as ready for review September 5, 2026 15:46
@owl352
owl352 merged commit 0cc0262 into master Sep 5, 2026
3 checks passed
@owl352
owl352 deleted the feat/static-p2p branch September 5, 2026 17:40
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.

2 participants