mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-11-19 18:11:28 +01:00
5c1de8029a
Changelog-Added: JSON-RPC: `fundchannel`, `multifundchannel` and `fundchannel_start` now accept a `reserve` parameter to indicate the absolute reserve to impose on the peer.
54 lines
1.0 KiB
JSON
54 lines
1.0 KiB
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"required": [
|
|
"id",
|
|
"amount"
|
|
],
|
|
"properties": {
|
|
"id": {
|
|
"type": "pubkey",
|
|
"description": "id is the peer id obtained from connect."
|
|
},
|
|
"amount": {
|
|
"type": "msat_or_all"
|
|
},
|
|
"feerate": {
|
|
"type": "feerate"
|
|
},
|
|
"announce": {
|
|
"type": "boolean"
|
|
},
|
|
"minconf": {
|
|
"type": "u32"
|
|
},
|
|
"push_msat": {
|
|
"type": "msat"
|
|
},
|
|
"close_to": {
|
|
"type": "string"
|
|
},
|
|
"request_amt": {
|
|
"type": "msat"
|
|
},
|
|
"compact_lease": {
|
|
"type": "string"
|
|
},
|
|
"utxos": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "outpoint"
|
|
}
|
|
},
|
|
"mindepth": {
|
|
"description": "Number of confirmations required before we consider the channel active",
|
|
"type": "u32"
|
|
},
|
|
"reserve": {
|
|
"type": "msat",
|
|
"description": "The amount we want the peer to maintain on its side"
|
|
}
|
|
}
|
|
}
|