LNP-WG / lnp-node

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

node receiving a connection does not know initiator's nodeid #34

Closed St333p closed 1 year ago

St333p commented 3 years ago

Currently a node B that receives a connection from peer A does not know A's nodeid since the Noise protocol interface in rust-lnpbp does not expose this information, as was discussed in 2020/12/09 devcall and reported in #31. Once rust-lnpbp will be updated to offer this feature we should retrieve initiator's nodeid and update it into internal node state to be exposed to rpc calls.