mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 15:14:23 +01:00
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:
committed by
Alex Myers
parent
259dd2a652
commit
fea73680d7
@@ -50,7 +50,7 @@ struct gossip_rcvd_filter;
|
|||||||
*/
|
*/
|
||||||
struct gossip_hdr {
|
struct gossip_hdr {
|
||||||
beint16_t flags; /* Length of message after header. */
|
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 crc; /* crc of message of timestamp, after header. */
|
||||||
beint32_t timestamp; /* timestamp of msg. */
|
beint32_t timestamp; /* timestamp of msg. */
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -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
|
- **tablename** (string): the name of the table
|
||||||
- **columns** (array of objects): the columns, in database order:
|
- **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")
|
- **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:
|
- **indices** (array of arrays, optional): Any index we created to speed lookups:
|
||||||
- The columns for this index:
|
- The columns for this index:
|
||||||
@@ -106,4 +106,4 @@ RESOURCES
|
|||||||
---------
|
---------
|
||||||
|
|
||||||
Main web site: <https://github.com/ElementsProject/lightning>
|
Main web site: <https://github.com/ElementsProject/lightning>
|
||||||
[comment]: # ( SHA256STAMP:3ac985dd8ef6959b327e6e6a79079db3ad51423bc4e469799a12ae74b2e75697)
|
[comment]: # ( SHA256STAMP:29ce2ff3f7cab8a4a90d09fa02fa8176008413272d46c0fe7faa6216f11bb2c6)
|
||||||
|
|||||||
@@ -2,6 +2,7 @@
|
|||||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"required": [],
|
"required": [],
|
||||||
|
"added": "v23.02",
|
||||||
"properties": {
|
"properties": {
|
||||||
"table": {
|
"table": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
|
|||||||
@@ -33,7 +33,7 @@
|
|||||||
"properties": {
|
"properties": {
|
||||||
"name": {
|
"name": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "the name the column"
|
"description": "the name of the column"
|
||||||
},
|
},
|
||||||
"type": {
|
"type": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
|
|||||||
@@ -4,6 +4,7 @@
|
|||||||
"required": [
|
"required": [
|
||||||
"query"
|
"query"
|
||||||
],
|
],
|
||||||
|
"added": "v23.02",
|
||||||
"properties": {
|
"properties": {
|
||||||
"query": {
|
"query": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
|
|||||||
Reference in New Issue
Block a user