mit-dci / lit

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

Lit Invoice Protocol #329

Open Varunram opened 6 years ago

Varunram commented 6 years ago

Not complete yet, but good enough for basic testing and functionality. Right now, it still uses underscore as a separator, need to change that. Need to store and generate invoices as well - right now its hardcoded. Also need to do routing / multi hop stuff once that goes into master. What it does right now is push funds through an existing channel if it exists and open a new channel if a channel doesn't already exist and push funds through that. Also, need a good name (LIP?)

gertjaap commented 6 years ago

retest this please

gertjaap commented 6 years ago

Found a couple things while reviewing this:

lit-af# invoice gen bcrt 100000
entered command: invoice gen bcrt 100000
generated invoice ln176zh6khtl263z7e5su9673hjmn5hfptmhx8te511 worth 100000lit-af# invoice ls
entered command: invoice ls
Our Invoices
Active
InvoiceID: b, Amount: 100000 CoinType: crt
Remote Peers' Invoices
lit-af#  

Happy to retest when this is working