wtclient+server: unexport and rename TowerClient

Rename and unexport the `TowerClient` struct to `client` and rename the
`TowerClientManager` interface to `ClientManager`.
This commit is contained in:
Elle Mouton committed 2023-11-28 11:01:51 +02:00
1 parent fcfdf699e3
commit e800aacff4
8 files changed
+80 -85

No files matched your search

+2 -2
View File
@@ -269,7 +269,7 @@ type Config struct {
HtlcNotifier *htlcswitch.HtlcNotifier
// TowerClient is used to backup revoked states.
TowerClient wtclient.TowerClientManager
TowerClient wtclient.ClientManager
// DisconnectPeer is used to disconnect this peer if the cooperative close
// process fails.
@@ -1036,7 +1036,7 @@ func (p *Brontide) addLink(chanPoint *wire.OutPoint,
return p.cfg.ChainArb.NotifyContractUpdate(*chanPoint, update)
}
var towerClient wtclient.TowerClientManager
var towerClient wtclient.ClientManager
if lnChan.ChanType().IsTaproot() {
// Leave the tower client as nil for now until the tower client
// has support for taproot channels.