mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-11-19 01:43:36 +01:00
7f2aedc76f
This is a difficult transition for us: this string appears in channel types. We make the transition now in the understanding that it will be more difficult in future. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Changelog-Deprecated: JSON-RPC: `listpeers` `features` array string "option_anchors_zero_fee_htlc_tx": use "option_anchors" (spec renamed it). Changelog-Added: JSON-RPC: `listpeers` `features` array string uses "option_anchors" for feature 22/23, following renaming in BOLT 9. Changelog-Changed: JSON-RPC: `listclosedchannels`, `listpeerchannels`, `openchannel_update`, `openchannel_init`, `fundchannel`, `fundchannel_start` and `multifundchannel`: `channel_type` array `names` now contains "anchors" instead of "anchors_zero_fee_htlc_tx". Changelog-Changed: lightningd: `--list-features-only` now lists "option_anchors" instead of "option_anchors_zero_fee_htlc_tx".
25 lines
706 B
C
25 lines
706 B
C
#ifndef LIGHTNING_LIGHTNINGD_OPENING_CONTROL_H
|
|
#define LIGHTNING_LIGHTNINGD_OPENING_CONTROL_H
|
|
#include "config.h"
|
|
#include <ccan/short_types/short_types.h>
|
|
#include <lightningd/peer_control.h>
|
|
|
|
struct channel_id;
|
|
struct crypto_state;
|
|
struct json_stream;
|
|
struct lightningd;
|
|
struct peer_fd;
|
|
struct uncommitted_channel;
|
|
|
|
void NON_NULL_ARGS(2, 4) json_add_uncommitted_channel(struct command *cmd,
|
|
struct json_stream *response,
|
|
const struct uncommitted_channel *uc,
|
|
const struct peer *peer);
|
|
|
|
bool peer_start_openingd(struct peer *peer,
|
|
struct peer_fd *peer_fd);
|
|
|
|
struct subd *peer_get_owning_subd(struct peer *peer);
|
|
|
|
#endif /* LIGHTNING_LIGHTNINGD_OPENING_CONTROL_H */
|