mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 07:04:22 +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
@@ -21,7 +21,7 @@ void psbt_finalize_input(const tal_t *ctx,
|
||||
struct wally_psbt_input *in,
|
||||
const struct witness *witness);
|
||||
|
||||
/* psbt_to_witness_stacks - Take a side's sigs from a PSBT and copy to a
|
||||
/* psbt_to_witnesses - Take a side's sigs from a PSBT and copy to a
|
||||
* wire witness
|
||||
*
|
||||
* @ctx - allocation context
|
||||
@@ -35,12 +35,4 @@ psbt_to_witnesses(const tal_t *ctx,
|
||||
enum tx_role side_to_stack,
|
||||
int input_index_to_ignore);
|
||||
|
||||
/* psbt_input_weight - Calculate the tx weight for input index `in` */
|
||||
size_t psbt_input_weight(struct wally_psbt *psbt,
|
||||
size_t in);
|
||||
|
||||
/* psbt_output_weight - Calculate the tx weight for output index `outnum` */
|
||||
size_t psbt_output_weight(struct wally_psbt *psbt,
|
||||
size_t outnum);
|
||||
|
||||
#endif /* LIGHTNING_COMMON_PSBT_INTERNAL_H */
|
||||
|
||||
Reference in New Issue
Block a user