lightningnetwork / lightning-onion

Onion Routed Micropayments for the Lightning Network
MIT License
396 stars 125 forks source link

sphinx: add OnionPublicKey method to Router #63

Closed ellemouton closed 2 weeks ago

ellemouton commented 2 weeks ago

Expose the public key of the key that they router is backed by. We'll use this in LND for route blinding to quickly be able to check if a dummy hop payload is destined for this node's router.