build: add temporary kvdb mod replace
This commit is contained in:
35 files changed
+2525
-2074
No files matched your search
@@ -1429,6 +1429,13 @@
|
||||
"type": "integer",
|
||||
"format": "int64"
|
||||
},
|
||||
{
|
||||
"name": "dest_custom_records[string]",
|
||||
"description": "This is a request variable of the map type. The query format is \"map_name[key]=value\", e.g. If the map name is Age, the key type is string, and the value type is integer, the query parameter is expressed as Age[\"bob\"]=18",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "outgoing_chan_id",
|
||||
"description": "The channel id of the channel that must be taken to the first hop. If zero,\nany channel may be used.",
|
||||
@@ -1564,6 +1571,7 @@
|
||||
"ignored_edges": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/lnrpcEdgeLocator"
|
||||
},
|
||||
"description": "Deprecated. A list of edges to ignore during path finding."
|
||||
@@ -1579,6 +1587,7 @@
|
||||
"ignored_pairs": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/lnrpcNodePair"
|
||||
},
|
||||
"description": "A list of directed node pairs that will be ignored during path finding."
|
||||
@@ -1588,7 +1597,7 @@
|
||||
"format": "int64",
|
||||
"description": "An optional maximum total time lock for the route. If the source is empty or\nourselves, this should not exceed lnd's `--max-cltv-expiry` setting. If\nzero, then the value of `--max-cltv-expiry` is used as the limit."
|
||||
},
|
||||
"dest_custom_records": {
|
||||
"dest_custom_records[string]": {
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"type": "string",
|
||||
@@ -1609,6 +1618,7 @@
|
||||
"route_hints": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/lnrpcRouteHint"
|
||||
},
|
||||
"description": "Optional route hints to reach the destination through private channels."
|
||||
@@ -1616,6 +1626,7 @@
|
||||
"blinded_payment_paths": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/lnrpcBlindedPaymentPath"
|
||||
},
|
||||
"description": "An optional blinded path(s) to reach the destination. Note that the\nintroduction node must be provided as the first hop in the route."
|
||||
@@ -2076,6 +2087,59 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"parameters": [
|
||||
{
|
||||
"name": "ref_msg_id",
|
||||
"description": "The request message ID this response refers to. Must always be set when\ngiving feedback to an intercept but is ignored for the initial registration\nmessage.",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string",
|
||||
"format": "uint64"
|
||||
},
|
||||
{
|
||||
"name": "register.middleware_name",
|
||||
"description": "The name of the middleware to register. The name should be as informative\nas possible and is logged on registration.",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "register.custom_macaroon_caveat_name",
|
||||
"description": "The name of the custom macaroon caveat that this middleware is responsible\nfor. Only requests/responses that contain a macaroon with the registered\ncustom caveat are forwarded for interception to the middleware. The\nexception being the read-only mode: All requests/responses are forwarded to\na middleware that requests read-only access but such a middleware won't be\nallowed to _alter_ responses. As a security measure, _no_ middleware can\nchange responses to requests made with _unencumbered_ macaroons!\nNOTE: Cannot be used at the same time as read_only_mode.",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "register.read_only_mode",
|
||||
"description": "Instead of defining a custom macaroon caveat name a middleware can register\nitself for read-only access only. In that mode all requests/responses are\nforwarded to the middleware but the middleware isn't allowed to alter any of\nthe responses.\nNOTE: Cannot be used at the same time as custom_macaroon_caveat_name.",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "boolean"
|
||||
},
|
||||
{
|
||||
"name": "feedback.error",
|
||||
"description": "The error to return to the user. If this is non-empty, the incoming gRPC\nstream/request is aborted and the error is returned to the gRPC client. If\nthis value is empty, it means the middleware accepts the stream/request/\nresponse and the processing of it can continue.",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "feedback.replace_response",
|
||||
"description": "A boolean indicating that the gRPC message should be replaced/overwritten.\nThis boolean is needed because in protobuf an empty message is serialized as\na 0-length or nil byte slice and we wouldn't be able to distinguish between\nan empty replacement message and the \"don't replace anything\" case.",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "boolean"
|
||||
},
|
||||
{
|
||||
"name": "feedback.replacement_serialized",
|
||||
"description": "If the replace_response field is set to true, this field must contain the\nbinary serialized gRPC message in the protobuf format.",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string",
|
||||
"format": "byte"
|
||||
}
|
||||
],
|
||||
"tags": [
|
||||
"Lightning"
|
||||
]
|
||||
@@ -2665,6 +2729,13 @@
|
||||
}
|
||||
},
|
||||
"parameters": [
|
||||
{
|
||||
"name": "AddrToAmount[string]",
|
||||
"description": "This is a request variable of the map type. The query format is \"map_name[key]=value\", e.g. If the map name is Age, the key type is string, and the value type is integer, the query parameter is expressed as Age[\"bob\"]=18",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "target_conf",
|
||||
"description": "The target number of blocks that this transaction should be confirmed\nby.",
|
||||
@@ -3096,6 +3167,7 @@
|
||||
"pending_htlcs": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/lnrpcPendingHTLC"
|
||||
}
|
||||
},
|
||||
@@ -3379,6 +3451,7 @@
|
||||
"permissions": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/lnrpcMacaroonPermission"
|
||||
},
|
||||
"description": "The list of permissions the new macaroon should grant."
|
||||
@@ -3506,6 +3579,7 @@
|
||||
"channels": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/lnrpcBatchOpenChannel"
|
||||
},
|
||||
"description": "The list of channels to open."
|
||||
@@ -3545,6 +3619,7 @@
|
||||
"pending_channels": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/lnrpcPendingUpdate"
|
||||
}
|
||||
}
|
||||
@@ -3581,6 +3656,7 @@
|
||||
"blinded_hops": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/lnrpcBlindedHop"
|
||||
},
|
||||
"description": "A set of blinded node keys and data blobs for the blinded portion of the\nroute. Note that the first hop is expected to be the introduction node,\nso the route is always expected to have at least one hop."
|
||||
@@ -3792,6 +3868,7 @@
|
||||
"pending_htlcs": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/lnrpcHTLC"
|
||||
},
|
||||
"description": "The list of active, uncleared HTLCs currently pending within the channel."
|
||||
@@ -4058,6 +4135,7 @@
|
||||
"chan_backups": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/lnrpcChannelBackup"
|
||||
},
|
||||
"description": "A set of single-chan static channel backups."
|
||||
@@ -4167,6 +4245,7 @@
|
||||
"resolutions": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/lnrpcResolution"
|
||||
}
|
||||
},
|
||||
@@ -4211,6 +4290,7 @@
|
||||
"additional_outputs": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/lnrpcCloseOutput"
|
||||
},
|
||||
"description": "Any additional outputs that might be added for custom channel types."
|
||||
@@ -4391,6 +4471,7 @@
|
||||
"nodes": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/lnrpcLightningNode"
|
||||
},
|
||||
"title": "The list of `LightningNode`s in this channel graph"
|
||||
@@ -4398,6 +4479,7 @@
|
||||
"edges": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/lnrpcChannelEdge"
|
||||
},
|
||||
"title": "The list of `ChannelEdge`s in this channel graph"
|
||||
@@ -4507,6 +4589,7 @@
|
||||
"permissions": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/lnrpcMacaroonPermission"
|
||||
}
|
||||
},
|
||||
@@ -4588,6 +4671,7 @@
|
||||
"channels": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/lnrpcChannelCloseSummary"
|
||||
}
|
||||
}
|
||||
@@ -4886,6 +4970,7 @@
|
||||
"channel_fees": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/lnrpcChannelFeeReport"
|
||||
},
|
||||
"description": "An array of channel fee reports which describes the current fee schedule\nfor each channel."
|
||||
@@ -5020,6 +5105,7 @@
|
||||
"forwarding_events": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/lnrpcForwardingEvent"
|
||||
},
|
||||
"description": "A list of forwarding events from the time slice of the time series\nspecified in the request."
|
||||
@@ -5206,6 +5292,7 @@
|
||||
"chains": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/lnrpcChain"
|
||||
},
|
||||
"description": "A list of active chains the node is connected to. This will only\never contain a single entry since LND will only ever have a single\nchain backend during its lifetime."
|
||||
@@ -5258,18 +5345,21 @@
|
||||
"node_updates": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/lnrpcNodeUpdate"
|
||||
}
|
||||
},
|
||||
"channel_updates": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/lnrpcChannelEdgeUpdate"
|
||||
}
|
||||
},
|
||||
"closed_chans": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/lnrpcClosedChannelUpdate"
|
||||
}
|
||||
}
|
||||
@@ -5580,6 +5670,7 @@
|
||||
"route_hints": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/lnrpcRouteHint"
|
||||
},
|
||||
"description": "Route hints that can each be individually used to assist in reaching the\ninvoice's destination."
|
||||
@@ -5620,6 +5711,7 @@
|
||||
"htlcs": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/lnrpcInvoiceHTLC"
|
||||
},
|
||||
"description": "List of HTLCs paying to this invoice [EXPERIMENTAL].\nNote: Output only, don't specify for creating an invoice."
|
||||
@@ -5796,6 +5888,7 @@
|
||||
"addresses": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/lnrpcNodeAddress"
|
||||
}
|
||||
},
|
||||
@@ -5825,6 +5918,7 @@
|
||||
"alias_maps": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/lnrpcAliasMap"
|
||||
}
|
||||
}
|
||||
@@ -5836,6 +5930,7 @@
|
||||
"channels": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/lnrpcChannel"
|
||||
},
|
||||
"title": "The list of active channels"
|
||||
@@ -5848,6 +5943,7 @@
|
||||
"invoices": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/lnrpcInvoice"
|
||||
},
|
||||
"description": "A list of invoices from the time slice of the time series specified in the\nrequest."
|
||||
@@ -5883,6 +5979,7 @@
|
||||
"payments": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/lnrpcPayment"
|
||||
},
|
||||
"title": "The list of payments"
|
||||
@@ -5910,6 +6007,7 @@
|
||||
"peers": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/lnrpcPeer"
|
||||
},
|
||||
"title": "The list of currently connected peers"
|
||||
@@ -5934,6 +6032,7 @@
|
||||
"utxos": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/lnrpcUtxo"
|
||||
},
|
||||
"title": "A list of utxos"
|
||||
@@ -5987,6 +6086,7 @@
|
||||
"permissions": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/lnrpcMacaroonPermission"
|
||||
},
|
||||
"description": "A list of macaroon permissions."
|
||||
@@ -6016,6 +6116,7 @@
|
||||
"chan_points": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/lnrpcChannelPoint"
|
||||
},
|
||||
"description": "Is the set of all channels that are included in this multi-channel backup."
|
||||
@@ -6117,6 +6218,7 @@
|
||||
"channels": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/lnrpcChannelEdge"
|
||||
},
|
||||
"description": "A list of all public channels for the node."
|
||||
@@ -6185,6 +6287,7 @@
|
||||
"node_addresses": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/lnrpcNodeAddress"
|
||||
}
|
||||
},
|
||||
@@ -6326,6 +6429,7 @@
|
||||
"outpoints": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/lnrpcOutPoint"
|
||||
},
|
||||
"description": "A list of selected outpoints that are allocated for channel funding."
|
||||
@@ -6457,6 +6561,7 @@
|
||||
"route_hints": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/lnrpcRouteHint"
|
||||
}
|
||||
},
|
||||
@@ -6477,6 +6582,7 @@
|
||||
"blinded_paths": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/lnrpcBlindedPaymentPath"
|
||||
}
|
||||
}
|
||||
@@ -6544,6 +6650,7 @@
|
||||
"htlcs": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/lnrpcHTLCAttempt"
|
||||
},
|
||||
"description": "The HTLCs made in attempt to settle the payment."
|
||||
@@ -6634,6 +6741,7 @@
|
||||
"errors": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/lnrpcTimestampedError"
|
||||
},
|
||||
"description": "The latest errors received from our peer with timestamps, limited to the 10\nmost recent errors. These errors are tracked across peer connections, but\nare not persisted across lnd restarts. Note that these errors are only\nstored for peers that we have channels open with, to prevent peers from\nspamming us with errors at no cost."
|
||||
@@ -6678,6 +6786,7 @@
|
||||
"pending_open_channels": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/PendingChannelsResponsePendingOpenChannel"
|
||||
},
|
||||
"title": "Channels pending opening"
|
||||
@@ -6685,6 +6794,7 @@
|
||||
"pending_closing_channels": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/PendingChannelsResponseClosedChannel"
|
||||
},
|
||||
"description": "Deprecated: Channels pending closing previously contained cooperatively\nclosed channels with a single confirmation. These channels are now\nconsidered closed from the time we see them on chain."
|
||||
@@ -6692,6 +6802,7 @@
|
||||
"pending_force_closing_channels": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/PendingChannelsResponseForceClosedChannel"
|
||||
},
|
||||
"title": "Channels pending force closing"
|
||||
@@ -6699,6 +6810,7 @@
|
||||
"waiting_close_channels": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/PendingChannelsResponseWaitingCloseChannel"
|
||||
},
|
||||
"title": "Channels waiting for closing tx to confirm"
|
||||
@@ -6819,6 +6931,7 @@
|
||||
"failed_updates": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/lnrpcFailedUpdate"
|
||||
},
|
||||
"description": "List of failed policy updates."
|
||||
@@ -6863,6 +6976,7 @@
|
||||
"routes": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/lnrpcRoute"
|
||||
},
|
||||
"description": "The route that results from the path finding operation. This is still a\nrepeated field to retain backwards compatibility."
|
||||
@@ -7055,6 +7169,7 @@
|
||||
"hops": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/lnrpcHop"
|
||||
},
|
||||
"description": "Contains details concerning the specific forwarding details at each hop."
|
||||
@@ -7088,6 +7203,7 @@
|
||||
"hop_hints": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/lnrpcHopHint"
|
||||
},
|
||||
"description": "A list of hop hints that when chained together can assist in reaching a\nspecific destination."
|
||||
@@ -7193,6 +7309,7 @@
|
||||
"outpoints": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/lnrpcOutPoint"
|
||||
},
|
||||
"description": "A list of selected outpoints as inputs for the transaction."
|
||||
@@ -7517,6 +7634,7 @@
|
||||
"output_details": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/lnrpcOutputDetail"
|
||||
},
|
||||
"title": "Outputs that received funds for this transaction"
|
||||
@@ -7532,6 +7650,7 @@
|
||||
"previous_outpoints": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/lnrpcPreviousOutPoint"
|
||||
},
|
||||
"description": "PreviousOutpoints/Inputs of this transaction."
|
||||
@@ -7544,6 +7663,7 @@
|
||||
"transactions": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/lnrpcTransaction"
|
||||
},
|
||||
"description": "The list of transactions relevant to the wallet."
|
||||
@@ -7695,14 +7815,11 @@
|
||||
"protobufAny": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"type_url": {
|
||||
"@type": {
|
||||
"type": "string"
|
||||
},
|
||||
"value": {
|
||||
"type": "string",
|
||||
"format": "byte"
|
||||
}
|
||||
}
|
||||
},
|
||||
"additionalProperties": {}
|
||||
},
|
||||
"rpcStatus": {
|
||||
"type": "object",
|
||||
@@ -7717,6 +7834,7 @@
|
||||
"details": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/protobufAny"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user