lnrpc: fix v1 switch API doc

This commit is contained in:
de6df1re 2021-06-10 16:55:00 -05:00
parent 42099ef5e1
commit c0c0673356
No known key found for this signature in database
GPG Key ID: 28773EA02EA30B97
3 changed files with 10 additions and 7 deletions

View File

@ -20123,8 +20123,9 @@ type LightningClient interface {
// lncli: `fwdinghistory`
//ForwardingHistory allows the caller to query the htlcswitch for a record of
//all HTLCs forwarded within the target time range, and integer offset
//within that time range. If no time-range is specified, then the first chunk
//of the past 24 hrs of forwarding history are returned.
//within that time range, for a maximum number of events. If no maximum number
//of events is specified, up to 100 events will be returned. If no time-range
//is specified, then events will be returned in the order that they occured.
//
//A list of forwarding events are returned. The size of each forwarding event
//is 40 bytes, and the max message size able to be returned in gRPC is 4 MiB.
@ -21271,8 +21272,9 @@ type LightningServer interface {
// lncli: `fwdinghistory`
//ForwardingHistory allows the caller to query the htlcswitch for a record of
//all HTLCs forwarded within the target time range, and integer offset
//within that time range. If no time-range is specified, then the first chunk
//of the past 24 hrs of forwarding history are returned.
//within that time range, for a maximum number of events. If no maximum number
//of events is specified, up to 100 events will be returned. If no time-range
//is specified, then events will be returned in the order that they occured.
//
//A list of forwarding events are returned. The size of each forwarding event
//is 40 bytes, and the max message size able to be returned in gRPC is 4 MiB.

View File

@ -426,8 +426,9 @@ service Lightning {
/* lncli: `fwdinghistory`
ForwardingHistory allows the caller to query the htlcswitch for a record of
all HTLCs forwarded within the target time range, and integer offset
within that time range. If no time-range is specified, then the first chunk
of the past 24 hrs of forwarding history are returned.
within that time range, for a maximum number of events. If no maximum number
of events is specified, up to 100 events will be returned. If no time-range
is specified, then events will be returned in the order that they occured.
A list of forwarding events are returned. The size of each forwarding event
is 40 bytes, and the max message size able to be returned in gRPC is 4 MiB.

View File

@ -1984,7 +1984,7 @@
},
"/v1/switch": {
"post": {
"summary": "lncli: `fwdinghistory`\nForwardingHistory allows the caller to query the htlcswitch for a record of\nall HTLCs forwarded within the target time range, and integer offset\nwithin that time range. If no time-range is specified, then the first chunk\nof the past 24 hrs of forwarding history are returned.",
"summary": "lncli: `fwdinghistory`\nForwardingHistory allows the caller to query the htlcswitch for a record of\nall HTLCs forwarded within the target time range, and integer offset\nwithin that time range, for a maximum number of events. If no maximum number\nof events is specified, up to 100 events will be returned. If no time-range\nis specified, then events will be returned in the order that they occured.",
"description": "A list of forwarding events are returned. The size of each forwarding event\nis 40 bytes, and the max message size able to be returned in gRPC is 4 MiB.\nAs a result each message can only contain 50k entries. Each response has\nthe index offset of the last entry. The index offset can be provided to the\nrequest to allow the caller to skip a series of records.",
"operationId": "ForwardingHistory",
"responses": {