Skip to content

Commit b3bd1fb

Browse files
committed
Swap out ChannelMonitor remote secret tracking for a struct.
In order to drop the ChannelMonitor from Channel, we need to track remote per_commitment_secrets outside of the monitor to validate new ones as they come in. This just moves the current code from ChannelMonitor into a new CounterpartyCommitmentSecrets struct in chan_utils.
1 parent f1722f9 commit b3bd1fb

File tree

2 files changed

+466
-434
lines changed

2 files changed

+466
-434
lines changed

0 commit comments

Comments
 (0)