typo fixes found by @niftynei

Also, put the "added" lines in the request schemas for new commands:
this doesn't do anything (yet?) but it keeps `make schema-added-check` happy.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell 2023-01-30 16:54:18 +10:30 committed by Alex Myers
parent 259dd2a652
commit fea73680d7
5 changed files with 6 additions and 4 deletions

View file

@ -50,7 +50,7 @@ struct gossip_rcvd_filter;
*/
struct gossip_hdr {
beint16_t flags; /* Length of message after header. */
beint16_t len; /* Length of message after header. */
beint16_t len; /* GOSSIP_STORE_xxx_BIT flags. */
beint32_t crc; /* crc of message of timestamp, after header. */
beint32_t timestamp; /* timestamp of msg. */
};

View file

@ -84,7 +84,7 @@ On success, an object containing **schemas** is returned. It is an array of obj
- **tablename** (string): the name of the table
- **columns** (array of objects): the columns, in database order:
- **name** (string): the name the column
- **name** (string): the name of the column
- **type** (string): the SQL type of the column (one of "INTEGER", "BLOB", "TEXT", "REAL")
- **indices** (array of arrays, optional): Any index we created to speed lookups:
- The columns for this index:
@ -106,4 +106,4 @@ RESOURCES
---------
Main web site: <https://github.com/ElementsProject/lightning>
[comment]: # ( SHA256STAMP:3ac985dd8ef6959b327e6e6a79079db3ad51423bc4e469799a12ae74b2e75697)
[comment]: # ( SHA256STAMP:29ce2ff3f7cab8a4a90d09fa02fa8176008413272d46c0fe7faa6216f11bb2c6)

View file

@ -2,6 +2,7 @@
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"required": [],
"added": "v23.02",
"properties": {
"table": {
"type": "string"

View file

@ -33,7 +33,7 @@
"properties": {
"name": {
"type": "string",
"description": "the name the column"
"description": "the name of the column"
},
"type": {
"type": "string",

View file

@ -4,6 +4,7 @@
"required": [
"query"
],
"added": "v23.02",
"properties": {
"query": {
"type": "string"