-
Notifications
You must be signed in to change notification settings - Fork 911
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
Notifications serialise connect, disconnect, block_added #6345
Notifications serialise connect, disconnect, block_added #6345
Conversation
@@ -87,9 +87,11 @@ A notification for topic `connect` is sent every time a new connection to a peer | |||
|
|||
```json | |||
{ |
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.
We should talk about the form of all these notifications (i.e. that notification X will contain an object X) in the general section of this doc.
Should we remove PLUGINS.md too, as a previous commit? It's confusing to have both!
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.
Agree, it is redundant but we can leave it till I am not working on documentation consolidation. I will work on the logical placement of all these documents at that point anyways.
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.
Changelog-Added: Plugins: connect
, disconnect
, block_added
notifications now have fields in sub-object of same name (e.g. "connect": {...}
), making all notifications uniform
Changelog-Deprecated: Plugins: connect
, disconnect
, block_added
notifications fields outside the sub-object of the same name: e.g. parse .connect.id instead of .id.
tests: notification response fixes
connect
,discnnect
andblock_added
.Changelog-Added: Plugins: connect, disconnect, block_added notifications now have fields in sub-object of same name (e.g. "connect": {...}), making all notifications uniform
Changelog-Deprecated: Plugins: connect, disconnect, block_added notifications fields outside the sub-object of the same name: e.g. parse .connect.id instead of .id.