schemas: fix ping requirements documentation
What changed, and why it matters
This commit only changes two lines of documentation text in JSON schema files. It corrects the description of the 'ping' command to say it works with any currently connected peer, not just peers with an open payment channel. There is no code change and no security impact.
No action required. This is a documentation-only correction.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The diff updates the description field in contrib/msggen/msggen/schema.json and doc/schemas/ping.json. The old wording stated the ping RPC only works for peers with a channel; the new wording states it works for peers we are currently connected to. No executable code, request schema, required fields, or behavior was modified.
Changed components
doc/schemas/ping.jsoncontrib/msggen/msggen/schema.jsonInspect captured patch +2 / −2
diff --git a/contrib/msggen/msggen/schema.json b/contrib/msggen/msggen/schema.json
index 79125a64..93ca6711 100644
--- a/contrib/msggen/msggen/schema.json
+++ b/contrib/msggen/msggen/schema.json
@@ -29279,7 +29279,7 @@
"rpc": "ping",
"title": "Command to check if a node is up.",
"description": [
- "The **ping** command checks if the node with *id* is ready to talk. It currently only works for peers we have a channel with."
+ "The **ping** command checks if the node with *id* is ready to talk. It only works for peers we are currently connected with."
],
"request": {
"required": [
diff --git a/doc/schemas/ping.json b/doc/schemas/ping.json
index 80f8e8ce..664c4606 100644
--- a/doc/schemas/ping.json
+++ b/doc/schemas/ping.json
@@ -4,7 +4,7 @@
"rpc": "ping",
"title": "Command to check if a node is up.",
"description": [
- "The **ping** command checks if the node with *id* is ready to talk. It currently only works for peers we have a channel with."
+ "The **ping** command checks if the node with *id* is ready to talk. It only works for peers we are currently connected with."
],
"request": {
"required": [
Why this scored 15/100
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.