lnrpc: fix v1 switch API doc
This commit is contained in:
parent
42099ef5e1
commit
c0c0673356
@ -20123,8 +20123,9 @@ type LightningClient interface {
|
|||||||
// lncli: `fwdinghistory`
|
// lncli: `fwdinghistory`
|
||||||
//ForwardingHistory allows the caller to query the htlcswitch for a record of
|
//ForwardingHistory allows the caller to query the htlcswitch for a record of
|
||||||
//all HTLCs forwarded within the target time range, and integer offset
|
//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
|
//within that time range, for a maximum number of events. If no maximum number
|
||||||
//of the past 24 hrs of forwarding history are returned.
|
//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
|
//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.
|
//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`
|
// lncli: `fwdinghistory`
|
||||||
//ForwardingHistory allows the caller to query the htlcswitch for a record of
|
//ForwardingHistory allows the caller to query the htlcswitch for a record of
|
||||||
//all HTLCs forwarded within the target time range, and integer offset
|
//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
|
//within that time range, for a maximum number of events. If no maximum number
|
||||||
//of the past 24 hrs of forwarding history are returned.
|
//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
|
//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.
|
//is 40 bytes, and the max message size able to be returned in gRPC is 4 MiB.
|
||||||
|
@ -426,8 +426,9 @@ service Lightning {
|
|||||||
/* lncli: `fwdinghistory`
|
/* lncli: `fwdinghistory`
|
||||||
ForwardingHistory allows the caller to query the htlcswitch for a record of
|
ForwardingHistory allows the caller to query the htlcswitch for a record of
|
||||||
all HTLCs forwarded within the target time range, and integer offset
|
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
|
within that time range, for a maximum number of events. If no maximum number
|
||||||
of the past 24 hrs of forwarding history are returned.
|
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
|
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.
|
is 40 bytes, and the max message size able to be returned in gRPC is 4 MiB.
|
||||||
|
@ -1984,7 +1984,7 @@
|
|||||||
},
|
},
|
||||||
"/v1/switch": {
|
"/v1/switch": {
|
||||||
"post": {
|
"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.",
|
"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",
|
"operationId": "ForwardingHistory",
|
||||||
"responses": {
|
"responses": {
|
||||||
|
Loading…
Reference in New Issue
Block a user