lnd/funding
Oliver Gugger af70af2710
funding+server: update switch after sending channel update
With this commit we give the funding manager the ability to inform the
switch about custom channel policies, right after we've announced the
channel to the network.
This change is necessary because before #6753 a channel could only be
opened with the default forwarding policies, so the switch automatically
had the "correct" default values. Since #6753 added the ability to
specify forwarding policies at channel open time, we announced those
policies to the network but never updated the switch to inform it about
the changed policies (previously changing the policies was only possible
through the UpdateChannelPolicy RPC which did call the switch).
2023-04-18 09:40:18 +02:00
..
batch_test.go multi: use btcd's btcec/v2 and btcutil modules 2022-03-09 19:02:37 +01:00
batch.go funding: use p2tr by default for batch_open_channel 2023-04-17 17:37:51 +02:00
commitment_type_negotiation_test.go server+funding: allow scid-alias, zero-conf chantypes, scid-alias 2022-07-07 17:10:28 -04:00
commitment_type_negotiation.go funding: code style cleanup for the funding package 2023-01-12 22:40:51 +10:30
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+server: update switch after sending channel update 2023-04-18 09:40:18 +02:00
manager.go funding+server: update switch after sending channel update 2023-04-18 09:40:18 +02:00