Commit 9a6325c
committed
doc: properly document sub-subobject fields.
Inside listpeerchannels, there's an object called `updates`, and inside that objects `local` and `remote`. We flatten this, but the documentation doesn't mention the `updates` field at all.
Ideally we would rename these fields to include `updates_` but that would be a breaking change.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
```
- `row` (reference to `peerchannels_channel_type.rowid`, sqltype `INTEGER`)
- `arrindex` (index within array, sqltype `INTEGER`)
- `names` (type `string`, sqltype `TEXT`)
- - `local_htlc_minimum_msat` (type `msat`, sqltype `INTEGER`, from JSON object `local`)
- - `local_htlc_maximum_msat` (type `msat`, sqltype `INTEGER`, from JSON object `local`)
- - `local_cltv_expiry_delta` (type `u32`, sqltype `INTEGER`, from JSON object `local`)
- - `local_fee_base_msat` (type `msat`, sqltype `INTEGER`, from JSON object `local`)
- - `local_fee_proportional_millionths` (type `u32`, sqltype `INTEGER`, from JSON object `local`)
- - `remote_htlc_minimum_msat` (type `msat`, sqltype `INTEGER`, from JSON object `remote`)
- - `remote_htlc_maximum_msat` (type `msat`, sqltype `INTEGER`, from JSON object `remote`)
- - `remote_cltv_expiry_delta` (type `u32`, sqltype `INTEGER`, from JSON object `remote`)
- - `remote_fee_base_msat` (type `msat`, sqltype `INTEGER`, from JSON object `remote`)
- - `remote_fee_proportional_millionths` (type `u32`, sqltype `INTEGER`, from JSON object `remote`)
+ - `local_htlc_minimum_msat` (type `msat`, sqltype `INTEGER`, from JSON object `updates.local`)
+ - `local_htlc_maximum_msat` (type `msat`, sqltype `INTEGER`, from JSON object `updates.local`)
+ - `local_cltv_expiry_delta` (type `u32`, sqltype `INTEGER`, from JSON object `updates.local`)
+ - `local_fee_base_msat` (type `msat`, sqltype `INTEGER`, from JSON object `updates.local`)
+ - `local_fee_proportional_millionths` (type `u32`, sqltype `INTEGER`, from JSON object `updates.local`)
+ - `remote_htlc_minimum_msat` (type `msat`, sqltype `INTEGER`, from JSON object `updates.remote`)
+ - `remote_htlc_maximum_msat` (type `msat`, sqltype `INTEGER`, from JSON object `updates.remote`)
+ - `remote_cltv_expiry_delta` (type `u32`, sqltype `INTEGER`, from JSON object `updates.remote`)
+ - `remote_fee_base_msat` (type `msat`, sqltype `INTEGER`, from JSON object `updates.remote`)
+ - `remote_fee_proportional_millionths` (type `u32`, sqltype `INTEGER`, from JSON object `updates.remote`)
- `ignore_fee_limits` (type `boolean`, sqltype `INTEGER`)
- `lost_state` (type `boolean`, sqltype `INTEGER`)
- `feerate_perkw` (type `u32`, sqltype `INTEGER`, from JSON object `feerate`)
```1 parent 054eeb8 commit 9a6325c
1 file changed
+12
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1581 | 1581 | | |
1582 | 1582 | | |
1583 | 1583 | | |
| 1584 | + | |
| 1585 | + | |
| 1586 | + | |
| 1587 | + | |
| 1588 | + | |
| 1589 | + | |
| 1590 | + | |
| 1591 | + | |
1584 | 1592 | | |
1585 | 1593 | | |
1586 | 1594 | | |
| |||
1603 | 1611 | | |
1604 | 1612 | | |
1605 | 1613 | | |
1606 | | - | |
| 1614 | + | |
| 1615 | + | |
1607 | 1616 | | |
1608 | 1617 | | |
1609 | 1618 | | |
| |||
1613 | 1622 | | |
1614 | 1623 | | |
1615 | 1624 | | |
1616 | | - | |
| 1625 | + | |
| 1626 | + | |
1617 | 1627 | | |
1618 | 1628 | | |
1619 | 1629 | | |
| |||
0 commit comments