-
Notifications
You must be signed in to change notification settings - Fork 895
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
Notification support #4046
Notification support #4046
Commits on Oct 22, 2020
-
lightningd: clean up close code now force is always true.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Configuration menu - View commit details
-
Copy full SHA for 07cc1e8 - Browse repository at this point
Copy the full SHA 07cc1e8View commit details -
common: add routines for log level names.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Configuration menu - View commit details
-
Copy full SHA for 54b4412 - Browse repository at this point
Copy the full SHA 54b4412View commit details -
ccan: update to latest version, get json_out_finished update.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Configuration menu - View commit details
-
Copy full SHA for 7a9ef82 - Browse repository at this point
Copy the full SHA 7a9ef82View commit details -
common/json_stream: add generic double-cr helper.
And make caller of json_stream_forward_change_id use it, since we're going to reuse that. Also call json_out_finished here, so next object doesn't have a "," prepended. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Configuration menu - View commit details
-
Copy full SHA for 913a137 - Browse repository at this point
Copy the full SHA 913a137View commit details -
JSON-RPC: notifications command.
This lets callers enable notifications; we won't send any if they don't. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Changelog-Added: JSON-RPC: `notifications` command to enable notifications.
Configuration menu - View commit details
-
Copy full SHA for 01cc152 - Browse repository at this point
Copy the full SHA 01cc152View commit details -
lightningd: forward notifications from plugins if enabled.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Configuration menu - View commit details
-
Copy full SHA for 9bc1fbd - Browse repository at this point
Copy the full SHA 9bc1fbdView commit details -
libplugin: support for sending notifications.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Changelog-Added: libplugin: routines to send notification updates and progress.
Configuration menu - View commit details
-
Copy full SHA for daafe9c - Browse repository at this point
Copy the full SHA daafe9cView commit details -
libplugin: ignore incoming notifications.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Configuration menu - View commit details
-
Copy full SHA for 7987be1 - Browse repository at this point
Copy the full SHA 7987be1View commit details -
pyln: handle (ignore) notifications, and add notify_msg to send them.
We also sanity check that response id matches our request. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Changelog-Added: pyln: pyln.client handles and can send progress notifications.
Configuration menu - View commit details
-
Copy full SHA for b6fd3dd - Browse repository at this point
Copy the full SHA b6fd3ddView commit details -
lightning-cli: print notifications (with '# ' prefix) if received.
This can be suppressed with -N. Note that we wull get an error with older lightningd, but we ignore it anyway. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Changelog-Added: cli: print notifications and progress bars if commands provide them.
Configuration menu - View commit details
-
Copy full SHA for 034cc98 - Browse repository at this point
Copy the full SHA 034cc98View commit details -
pytest: add notifications to tests.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Configuration menu - View commit details
-
Copy full SHA for 8531c89 - Browse repository at this point
Copy the full SHA 8531c89View commit details -
lightningd: infrastructure for internal notifications.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Configuration menu - View commit details
-
Copy full SHA for a1b42f7 - Browse repository at this point
Copy the full SHA a1b42f7View commit details -
close: add notification for slow closes.
For compatibility, we only do this if `allow-deprecated-apis` is false for now. Otherwise scripts parsing should use `grep -v '^# '` or start using `-N none`. Changelog-Added: JSON-RPC: `close` now sends notifications for slow closes (if `allow-deprecated-apis`=false) Changelog-Deprecated: cli: scripts should filter out '^# ' or use `-N none`, as commands will start returning notifications soon Fixes: ElementsProject#3925 Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Configuration menu - View commit details
-
Copy full SHA for 127b1a1 - Browse repository at this point
Copy the full SHA 127b1a1View commit details