Add empty party info response for older nodes to consume #847
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Changes made for issue #649 and #833 mean that no party info is sent back as a response to the
POST /partyinfo
request. This is expected on older nodes and will cause them to error in that scenario.Although in some scenarios they will continue to function with limited capability, in the case where the "key validation" feature is not enabled, there should be full compatibility between the nodes.
This change adds an empty response to these requests, so that older nodes can continue to function properly.
When the feature is enabled, it is required that all nodes are at least version
0.10.0
, and so do not need any response entity.