Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow settling a channel with any BP that has at least the required nonce #1414

Open
karlb opened this issue Aug 3, 2020 · 0 comments
Open
Labels
enhancement New feature or request

Comments

@karlb
Copy link
Contributor

karlb commented Aug 3, 2020

Right now, the BPs submitted during settlement have to match the hashed balance proofs submitted during closeChannel and updateNonClosingBalanceProof. The downside of this is that you need to store all your previous BPs, or you won't be able to settle a channel which has been updated with any BP but the most recent one.

This could be avoided by allowing more recent BPs during the settleChannel call. Only the nonce will be compared, the BP hash does not have to match. The signature has to be valid, of course.

@karlb karlb added the enhancement New feature or request label Aug 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant