mit-dci / lit

Lightning Network node software
MIT License
551 stars 119 forks source link

New more flexible address format code #440

Open delbonis opened 5 years ago

delbonis commented 5 years ago

Adds partial support for decoding both Lit-style and BOLT-style LN addresses.

See lncore/addr.go.

delbonis commented 5 years ago

Not that lnp2p doesn't use this code at all yet, we should have another PR that actually uses this address parser for figuring out connections.