LNP-WG / lnp-node

Lightning network protocol daemon (suitable for generalized Lightning Network)
MIT License
145 stars 40 forks source link

Implement PUB API #5

Closed dr-orlovsky closed 3 years ago

dr-orlovsky commented 4 years ago

PUB API will be used to notify connected node clients about new peer connections. It will be part of the API service from https://github.com/LNP-BP/lnpd/issues/3

PUB should have the following messages:

NB: : sign represents not a semicolon but rather parts of ZMQ multipart message zmq::Miltipart

connection_id is the internal id of the connection used by the node and that can be used in the client API

dr-orlovsky commented 3 years ago

Not required for the updated architecture