lightninglabs / lightning-node-connect

MIT License
78 stars 22 forks source link

[WIP] Second handshake V1 #34

Closed ellemouton closed 2 years ago

ellemouton commented 2 years ago

With this method: the first handshake is done over a mailbox conn F(password) and then immediately after (in the same "handshake process") the second handshake is done over mailbox conn F(localStatic, remoteStatic). Any reconnection will then immediately use the second handshake over F(localStatic, remoteStatic) mailbox conn.

This is a WIP as i still need to clean the commits up a bit. But this works 👍

ellemouton commented 2 years ago

Closing. Is replaced by #35 . Only the github closed-pr void will know that this took way too many hours of my life 🥲