lnd/discovery
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
..
bootstrapper.go multi: fix make fmt 2022-08-23 22:10:24 +08:00
chan_series.go discovery: skip non-maxHTLC updates in gossip sync 2023-02-21 14:03:51 +01:00
gossiper_test.go multi/refactor: separate methods for get and set node announcement 2023-05-04 10:35:42 -04:00
gossiper.go lnwire: update Sig to support both ECDSA and schnorr sigs 2023-08-22 16:29:19 -07:00
log.go multi: init subsystem loggers via build pkg 2018-10-05 13:04:45 +09:00
message_store_test.go discovery: use T.TempDir to create temporary test directory 2022-08-24 08:58:16 +08:00
message_store.go multi: add more trace logs regarding link activate flow 2023-03-21 10:18:49 +07:00
mock_test.go funding+peer: add support for new musig2 channel funding flow 2023-08-22 16:32:07 -07:00
reliable_sender_test.go multi: use btcd's btcec/v2 and btcutil modules 2022-03-09 19:02:37 +01:00
reliable_sender.go discovery+peer: add logs to reveal shutdown flow 2022-12-08 17:57:01 +08:00
sync_manager_test.go multi: use btcd's btcec/v2 and btcutil modules 2022-03-09 19:02:37 +01:00
sync_manager.go discovery+peer: add logs to reveal shutdown flow 2022-12-08 17:57:01 +08:00
syncer_test.go multi: fix make fmt 2022-08-23 22:10:24 +08:00
syncer.go discovery+server: add more trace log 2023-03-08 21:02:53 +08:00