-
Notifications
You must be signed in to change notification settings - Fork 913
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
Allow even unknown messages, by registration, and allow sending them #6689
Allow even unknown messages, by registration, and allow sending them #6689
Conversation
41966f0
to
bb7f9a0
Compare
Looks good technically, though it needs a rebase. I know "It's your funeral," but maybe we should log a single message the first time the node sends a custom even message. That way there's at least a hint for the operator to grep for? |
types, since that may cause issues with the internal state tracking of | ||
Core Lightning. | ||
Core Lightning. We do (as of *v23.11*) allow sending of even types, but note that peers (as per the spec) will disconnect on receiving unknown even types. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
inconsistent line breaks
Good advice! Made the first one INFO, the DEBUG level after that. |
bb7f9a0
to
8dedd24
Compare
Rebased, and added log message. |
37f6d15
to
4d57992
Compare
Fixed sanitizer complaint about memcpy NULL, and rebased onto #6802 for flake fixes. |
Changelog-Added: Plugins: plugins can now specify (unknown) even messages we should accept from peers. Signed-off-by: Rusty Russell <[email protected]>
We re-send whenever a plugin which allows them starts/finishes. Signed-off-by: Rusty Russell <[email protected]>
It's your funeral! Signed-off-by: Rusty Russell <[email protected]>
Signed-off-by: Rusty Russell <[email protected]>
4d57992
to
f291af4
Compare
Closes: #4963 (ancient)
Closes: #4960