-
Notifications
You must be signed in to change notification settings - Fork 524
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Keysend -- spontanous payments #1000
Comments
I can receive direct keysend payments but im getting the following error when trying to send them:
|
Everything needs to be fulfilled what is needed for a successful LN payment + the receiver needs to be paid through a public channel as keysend has no routehints available (which are provided by nodes behind private channels in the invoice, for example mobile wallets)
|
I have a direct channel opened already with the person im trying to send to. I was able to do a keysend with others who I do not have a channel open with though. |
I think this error occurs usually when the receiving peer doesn't run LND with --accept-keysend. |
We should add on option to activate keysend in the next 1.5 release. |
OK added for v1.5 RC1 release. Needs still testing. |
I actived keysend on both my testing RaspiBlitzes (both lnd 0.9.2) but when I try to send with
I just get an error "destination hop doesn't understand new TLV payloads" - @openoms how can I check that keysend is really activated on the other node? |
@rootzoll the only way I know to query about the supported features is: Unfortunately that does not return much for that node, neither can I see it's IP address. I don't see the keysend specific feature for my nodes, but they advertise the same to the network what is given on |
Joost here suggest just to try and see if it works for now: lightningnetwork/lnd#3795 (comment) |
Marked for Hackathon sprint:
@fusion44 can you mentor this sprint issue over the Lightning Hackday (first April Weekend) |
@rootzoll Sure, I'd gladly help out on that. Is there a Slack channel or similar for it? One more reason to fix my RaspiBlitz now :) |
We have a MatterMost (OpenSource Slack) we will use. Will post more details the next days. |
Outcome of Hacksprint:
Looks good - closing issue for v1.5 release :) |
See: https://twitter.com/joostjgr/status/1220294554307497986
Tested successfully on a node with lnd v0.9.0-beta by editing the lnd.service file:
sudo nano /etc/systemd/system/lnd.service
add
--accept-keysend
:restart:
sudo systemctl restart lnd
lncli unlock
Send payments to it with the syntax:
lncli sendpayment --keysend -d 028a2cb8d51e44d7d7e108c2e80a98cc069145e05a6d2025cf554bd8866fe32993 -a 1 --data 7629168=$(echo -n "sent from a RaspiBlitz" | xxd -pu -c 10000)
Output with a direct channel:
Shall we enable this by default? Not sure of any drawbacks.
The text was updated successfully, but these errors were encountered: