mirror of
https://github.com/aljazceru/lightning.git
synced 2026-02-18 04:24:28 +01:00
lightningd: allow extra tlv types in non-experimental mode.
The old `experimental-accept-extra-tlv-types` is now `accept-htlc-tlv-types`. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Changelog-Added: Config: `accept-htlc-tlv-types` lets us accept unknown even HTLC TLV fields we would normally reject on parsing (was EXPERIMENTAL-only `experimental-accept-extra-tlv-types`).
This commit is contained in:
@@ -97,7 +97,8 @@ On success, an object is returned, containing:
|
||||
- **log-timestamps** (boolean, optional): `log-timestamps` field from config or cmdline, or default
|
||||
- **force-feerates** (string, optional): force-feerate configuration setting, if any
|
||||
- **subdaemon** (string, optional): `subdaemon` fields from config or cmdline if any (can be more than one)
|
||||
- **fetchinvoice-noconnect** (boolean, optional): `featchinvoice-noconnect` fileds from config or cmdline, or default
|
||||
- **fetchinvoice-noconnect** (boolean, optional): `fetchinvoice-noconnect` fields from config or cmdline, or default
|
||||
- **accept-htlc-tlv-types** (string, optional): `accept-extra-tlvs-type` fields from config or cmdline, or not present
|
||||
- **tor-service-password** (string, optional): `tor-service-password` field from config or cmdline, if any
|
||||
- **dev-allowdustreserve** (boolean, optional): Whether we allow setting dust reserves
|
||||
|
||||
@@ -217,5 +218,4 @@ RESOURCES
|
||||
---------
|
||||
|
||||
Main web site: <https://github.com/ElementsProject/lightning>
|
||||
|
||||
[comment]: # ( SHA256STAMP:310cc00ef62e7075d5d2588b0492c2dd96f507cc739f67d56ccc6c4f3135bca5)
|
||||
[comment]: # ( SHA256STAMP:5871ac751654339ed65ab905d61f0bc3afbb8576a33a5c4e9a73d2084f438582)
|
||||
|
||||
@@ -424,6 +424,12 @@ the outgoing is redeemed.
|
||||
might need to redeem this on-chain, so this is the number of blocks we
|
||||
have to do that.
|
||||
|
||||
* **accept-htlc-tlv-types**=*types*
|
||||
|
||||
Normally HTLC onions which contain unknown even fields are rejected.
|
||||
This option specifies that these (comma-separated) types are to be
|
||||
accepted, and ignored.
|
||||
|
||||
### Invoice control options:
|
||||
|
||||
* **autocleaninvoice-cycle**=*SECONDS* [plugin `autoclean`]
|
||||
|
||||
@@ -281,7 +281,11 @@
|
||||
},
|
||||
"fetchinvoice-noconnect": {
|
||||
"type": "boolean",
|
||||
"description": "`featchinvoice-noconnect` fileds from config or cmdline, or default"
|
||||
"description": "`fetchinvoice-noconnect` fields from config or cmdline, or default"
|
||||
},
|
||||
"accept-htlc-tlv-types": {
|
||||
"type": "string",
|
||||
"description": "`accept-extra-tlvs-type` fields from config or cmdline, or not present"
|
||||
},
|
||||
"tor-service-password": {
|
||||
"type": "string",
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
{
|
||||
"flags": [
|
||||
"experimental-accept-extra-tlv-types",
|
||||
"channel-fee-max-base-msat",
|
||||
"channel-fee-max-proportional-thousandths",
|
||||
"funder-fund-probability",
|
||||
@@ -18,4 +17,4 @@
|
||||
"lease-fee-basis",
|
||||
"lease-funding-weight"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user