Skip to content

splice: signer must be informed of splice parameters #6723

@devrandom

Description

@devrandom

Overview

The signer needs to know when the splice operation starts and the splice parameters for each splice transaction candidate.

The channel establishment v2 (dual funding) code path already notifies the signer via the hsmd API hsmd_ready_channel calls (note the name clashes with the new name for funding_locked in the spec - see #6717). However, the splicing code path does not.

See also #6722 for locking of a splice candidate in the signer.

Design

Call ready_channel in the splicing code path after each splice candidate is negotiated.

The following parameters may vary from the previous confirmed funding transaction (initial or splice):

  • remote_funding_pubkey

The following parameters may vary between splice RBF candidates:

  • channel_value
  • push_value
  • funding_outpoint

It is an error to modify other fields.

Metadata

Metadata

Labels

Type::BugAn error, flaw, or fault that produces an incorrect or unexpected resulthsmd

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions