lnd/funding
Olaoluwa Osuntokun ad758d8499
funding: use explicit commitment type negotiation when possible
In this commit, we modify the existing logic that defaults to implicit
commitment type negotiation to support explicit negotiation if the new
feature bit is set. This change allows us to ditch the notion of a
"default" commitment type, as we'll now use feature bits to signal our
understanding of a commiment type, but allow peers to select which
commitment type they actually wish to use.

In addition, this explicit negotiation removes the need for using the
required bit of any commitment types. Instead, if an implementation
wishes to no longer support a commitment type, they should simply stop
advertising the optional bit.
2021-08-30 19:17:37 -07:00
..
commitment_type_negotiation_test.go funding: add explicit commitment type negotiation support 2021-08-30 19:17:34 -07:00
commitment_type_negotiation.go funding: add explicit commitment type negotiation support 2021-08-30 19:17:34 -07:00
interfaces.go funding+peer: rename Manager interface to Controller 2020-12-17 09:36:34 -05:00
log.go lnd+funding: register funding logger 2020-12-17 09:36:34 -05:00
manager_test.go lnwallet+funding: sanitize upfront_shutdown_script 2021-06-11 10:46:21 -04:00
manager.go funding: use explicit commitment type negotiation when possible 2021-08-30 19:17:37 -07:00