lnd/peer
Elle Mouton fcfdf699e3
multi: move BackupState and RegisterChannel to Manager
This commit moves over the last two methods, `RegisterChannel` and
`BackupState` from the `Client` to the `Manager` interface. With this
change, we no longer need to pass around the individual clients around
and now only need to pass the manager around.

To do this change, all the goroutines that handle channel closes,
closable sessions needed to be moved to the Manager and so a large part
of this commit is just moving this code from the TowerClient to the
Manager.
2023-11-28 10:59:40 +02:00
..
brontide.go multi: move BackupState and RegisterChannel to Manager 2023-11-28 10:59:40 +02:00
brontide_test.go peer: add test for startup race on writeMessage 2023-11-16 17:33:44 -06:00
interfaces.go htlcswitch+peer: CreateAndAddLink in switch, add messageSwitch to peer 2021-08-10 17:15:52 -04:00
log.go multi: remove peer.go, change all references to point to peer pkg 2020-07-06 19:16:07 -04:00
musig_chan_closer.go lnwallet: fix taproot co-op close nonce bug 2023-08-22 16:33:50 -07:00
ping_manager.go peer: Add machinery to track the state and validity of remote pongs 2023-10-19 09:26:45 -07:00
ping_manager_test.go peer: Add machinery to track the state and validity of remote pongs 2023-10-19 09:26:45 -07:00
test_utils.go peer: enable mockMessageConn to detect data races 2023-11-16 17:32:19 -06:00