Skip to content

smite: track commitment state per side - #275

Open
NishantBansal2003 wants to merge 1 commit into
lnfuzz:masterfrom
NishantBansal2003:asymmetric-commitment
Open

NishantBansal2003 wants to merge 1 commit into
lnfuzz:masterfrom
NishantBansal2003:asymmetric-commitment

Conversation

@NishantBansal2003

Copy link
Copy Markdown
Contributor

Commitments are asymmetric: after an update, each side's commitment can have a different commitment number, fee rate and balances until both sides catch up. Replace the single shared CommitmentState with ChannelCommitments, which holds one state per side, each with its own local_side and per_commitment_point.

Commitments are asymmetric: after an update, each side's commitment can
have a different commitment number, fee rate and balances until both
sides catch up. Replace the single shared CommitmentState with
ChannelCommitments, which holds one state per side, each with its own
local_side and per_commitment_point.

Signed-off-by: Nishant Bansal <nishant.bansal.282003@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant