mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-12-28 01:24:42 +01:00
bd3c0ef85c
Signed-off-by: Vincenzo Palazzo <vincenzopalazzodev@gmail.com>
49 lines
1.1 KiB
JSON
49 lines
1.1 KiB
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"required": [
|
|
"base",
|
|
"ppm",
|
|
"channels"
|
|
],
|
|
"properties": {
|
|
"base": {
|
|
"type": "u32",
|
|
"description": "The fee_base_msat value"
|
|
},
|
|
"ppm": {
|
|
"type": "u32",
|
|
"description": "The fee_proportional_millionths value"
|
|
},
|
|
"channels": {
|
|
"type": "array",
|
|
"description": "channel(s) whose rate is now set",
|
|
"items": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"required": [
|
|
"peer_id",
|
|
"channel_id"
|
|
],
|
|
"properties": {
|
|
"peer_id": {
|
|
"type": "pubkey",
|
|
"description": "The node_id of the peer"
|
|
},
|
|
"channel_id": {
|
|
"type": "hex",
|
|
"description": "The channel_id of the channel",
|
|
"minLength": 64,
|
|
"maxLength": 64
|
|
},
|
|
"short_channel_id": {
|
|
"type": "short_channel_id",
|
|
"description": "the short_channel_id (if locked in)"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|