mirror of
https://github.com/aljazceru/lightning.git
synced 2026-02-03 05:04:21 +01:00
In general, it's better to omit a field than put in a 'null', and putting variable-named fields in an object is also a bad idea. This is reflected in how hard this is to express in JSON schema, too. Others: 1. Remove the obsolete "funding": "LOCAL" from unopened channels, but add "opener": "local" as used in normal channels. 2. htlc cltv_expiry is a u16. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Changelog-Deprecated: JSON-RPC: `listfunds` `channels` `funding_allocation_msat` and `funding_msat`: use `funding`. Changelog-Deprecated: JSON-RPC: `listfunds` `channels` `last_tx_fee`: use `last_tx_fee_msat`. Changelog-Deprecated: JSON-RPC: `listfunds` `channels` `closer` is now omitted if it does not apply, not JSON `null`.