Skip to content

Commit 0103d12

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 d1feefd commit 0103d12

File tree

2 files changed

+466
-434
lines changed

2 files changed

+466
-434
lines changed

0 commit comments

Comments
 (0)