mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-24 01:24:26 +01:00
doc: update BOLTs to bc86304b4b0af5fd5ce9d24f74e2ebbceb7e2730
This contains the zeroconf stuff, with funding_locked renamed to channel_ready. I change that everywhere, and try to fix up the comments. Also the `alias` field is called `short_channel_id`. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Changelog-Changed: Protocol: `funding_locked` is now called `channel_ready` as per latest BOLTs.
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
* arbitrary combination (they represent the persistent features which
|
||||
* affect the channel operation).
|
||||
*
|
||||
* The currently defined types are:
|
||||
* The currently defined basic types are:
|
||||
* - no features (no bits set)
|
||||
* - `option_static_remotekey` (bit 12)
|
||||
* - `option_anchor_outputs` and `option_static_remotekey` (bits 20 and 12)
|
||||
@@ -118,8 +118,11 @@ struct channel_type *channel_type_accept(const tal_t *ctx,
|
||||
OPT_ZEROCONF,
|
||||
};
|
||||
|
||||
/* The basic channel_types can have any number of the
|
||||
* following optional bits. */
|
||||
/* BOLT #2:
|
||||
* Each basic type has the following variations allowed:
|
||||
* - `option_scid_alias` (bit 46)
|
||||
* - `option_zeroconf` (bit 50)
|
||||
*/
|
||||
static const size_t variants[] = {
|
||||
OPT_ZEROCONF,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user