mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-18 22:54:25 +01:00
channeld: Code to implement splicing
Update the lightningd <-> channeld interface with lots of new commands to needed to facilitate spicing. Implement the channeld splicing protocol leveraging the interactivetx protocol. Implement lightningd’s channel_control to support channeld in its splicing efforts. Changelog-Added: Added the features to enable splicing & resizing of active channels.
This commit is contained in:
committed by
Rusty Russell
parent
ebd0a3fd69
commit
4628e3ace8
@@ -540,6 +540,10 @@ void json_add_u32(struct json_stream *result UNNEEDED, const char *fieldname UNN
|
||||
void json_add_u64(struct json_stream *result UNNEEDED, const char *fieldname UNNEEDED,
|
||||
uint64_t value UNNEEDED)
|
||||
{ fprintf(stderr, "json_add_u64 called!\n"); abort(); }
|
||||
/* Generated stub for json_add_s64 */
|
||||
void json_add_s64(struct json_stream *result UNNEEDED, const char *fieldname UNNEEDED,
|
||||
int64_t value UNNEEDED)
|
||||
{ fprintf(stderr, "json_add_s64 called!\n"); abort(); }
|
||||
/* Generated stub for json_add_uncommitted_channel */
|
||||
void json_add_uncommitted_channel(struct json_stream *response UNNEEDED,
|
||||
const struct uncommitted_channel *uc UNNEEDED,
|
||||
@@ -790,6 +794,12 @@ struct command_result *param_u64(struct command *cmd UNNEEDED, const char *name
|
||||
const char *buffer UNNEEDED, const jsmntok_t *tok UNNEEDED,
|
||||
uint64_t **num UNNEEDED)
|
||||
{ fprintf(stderr, "param_u64 called!\n"); abort(); }
|
||||
/* Generated stub for channel_state_normalish */
|
||||
bool channel_state_normalish(const struct channel *channel UNNEEDED)
|
||||
{ fprintf(stderr, "channel_state_normalish called!\n"); abort(); }
|
||||
/* Generated stub for channel_state_awaitish */
|
||||
bool channel_state_awaitish(const struct channel *channel UNNEEDED)
|
||||
{ fprintf(stderr, "channel_state_awaitish called!\n"); abort(); }
|
||||
/* Generated stub for peer_any_active_channel */
|
||||
struct channel *peer_any_active_channel(struct peer *peer UNNEEDED, bool *others UNNEEDED)
|
||||
{ fprintf(stderr, "peer_any_active_channel called!\n"); abort(); }
|
||||
|
||||
Reference in New Issue
Block a user