lnd/funding
Olaoluwa Osuntokun 15978a8691
funding+peer: add support for new musig2 channel funding flow
In this commit, we add support for the new musig2 channel funding flow.
This flow is identical to the existing flow, but not both sides need to
exchange local nonces up front, and then signatures sent are now partial
signatures instead of regular signatures.

The funding manager also gains some new state of the local nonces it
needs to generate in order to send the funding locked message, and also
process the funding locked message from the remote party.

In order to allow the funding manger to generate the nonces that need to
be applied to each channel, then AddNewChannel method has been modified
to accept a set of options that the peer will then use to bind the
nonces to a new channel.
2023-08-22 16:32:07 -07:00
..
batch_test.go multi: use btcd's btcec/v2 and btcutil modules 2022-03-09 19:02:37 +01:00
batch.go funding: add all parameters to batch open channel 2023-07-26 09:49:22 +02:00
commitment_type_negotiation_test.go funding: fix channel type negotiation bug 2023-05-17 11:28:40 -05:00
commitment_type_negotiation.go funding: update explicitNegotiateCommitmentType to recognize taproot chans 2023-08-22 16:32:05 -07:00
config_integration.go funding: rename FundingLocked related functions and variables 2023-03-17 18:21:58 +08:00
interfaces.go multi: replace FundingLocked and funding_locked strings 2023-03-17 18:21:59 +08:00
log.go lnd+funding: register funding logger 2020-12-17 09:36:34 -05:00
manager_test.go funding+peer: add support for new musig2 channel funding flow 2023-08-22 16:32:07 -07:00
manager.go funding+peer: add support for new musig2 channel funding flow 2023-08-22 16:32:07 -07:00