Files
lightning/doc
Rusty Russell a6d4756d08 commando: make rune alternatives a JSON array.
This avoids having to escape | or &, though we still allow that for
the deprecation period.

To detect deprecated usage, we insist that alternatives are *always*
an array (which could be loosened later), but that also means that
restrictions must *always* be an array for now.

Before:

```
# invoice, description either A or B
lightning-cli commando-rune '["method=invoice","pnamedescription=A|pnamedescription=B"]'
# invoice, description literally 'A|B'
lightning-cli commando-rune '["method=invoice","pnamedescription=A\\|B"]'
```

After:

```
# invoice, description either A or B
lightning-cli commando-rune '[["method=invoice"],["pnamedescription=A", "pnamedescription=B"]]'
# invoice, description literally 'A|B'
lightning-cli commando-rune '[["method=invoice"],["pnamedescription=A|B"]]'
```

Changelog-Deprecated: JSON-RPC: `commando-rune` restrictions is always an array, each element an array of alternatives.  Replaces a string with `|`-separators, so no escaping necessary except for `\\`.
2022-09-14 17:46:43 +02:00
..
2015-07-18 10:46:53 +09:30
2015-07-18 10:46:53 +09:30
2015-07-18 10:46:53 +09:30
2018-06-08 17:56:48 +02:00
2015-11-20 06:45:19 +10:30
2015-07-18 10:46:53 +09:30
2015-07-18 10:46:53 +09:30
2015-07-18 10:46:53 +09:30
2015-07-18 10:46:53 +09:30
2015-07-18 10:46:53 +09:30
2015-07-18 10:46:53 +09:30
2015-07-18 10:46:53 +09:30
2015-07-18 10:46:53 +09:30
2015-07-18 10:46:53 +09:30
2015-07-18 10:46:53 +09:30
2022-09-08 00:38:06 +03:00
2022-08-19 10:27:09 -04:00
2022-08-22 11:21:19 -04:00