This adds the server.add_peer endpoint and use this data to return in peers.subscribe.
Peer validation is not implemented yet, which means that no added peers will end up in the subscribe returned list for now.
Differential D18151
[chronik] Electrum: implement peer discovery endpoints Authored by Fabien on May 26 2025, 13:25. Tags None Subscribers None
Details
This adds the server.add_peer endpoint and use this data to return in peers.subscribe. Peer validation is not implemented yet, which means that no added peers will end up in the subscribe returned list for now. ./test/functional/test_runner.py chronik_electrum_basic
Diff Detail
Event TimelineComment Actions Limit the peers list size, hardcoded to 10 for now. The peer validation will be responsible for clearing the list as well. |