Skip to content

interface: add method for "server.peers.subscribe" - #10834

Open
SomberNight wants to merge 1 commit into
spesmilo:masterfrom
SomberNight:202608_interface_server_peers_method
Open

interface: add method for "server.peers.subscribe"#10834
SomberNight wants to merge 1 commit into
spesmilo:masterfrom
SomberNight:202608_interface_server_peers_method

Conversation

@SomberNight

Copy link
Copy Markdown
Member

Instead of having callers manually construct and call the electrum protocol RPC, add convenience method in Interface class. Minimal validation of response shape is also done here, with some further deeper checks left in network.parse_servers().

ref https://github.com/spesmilo/electrum-protocol/blob/b3db795b3efd2a0e45a5b3f67fb360b65d4cd4d9/docs/protocol-methods.rst?plain=1#L1503

Instead of having callers manually construct and call the electrum protocol RPC,
add convenience method in Interface class. Minimal validation of response shape,
is also done here, with some further deeper checks left in network.parse_servers().
@SomberNight SomberNight added the topic-network 🕸 related to logic in network.py (etc) label Aug 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

topic-network 🕸 related to logic in network.py (etc)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant