-
Notifications
You must be signed in to change notification settings - Fork 655
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
Implement openUpgradeHandshake subprotocol #3644
Comments
|
…bc-go into charly/#3644-open-upgrade-event
Should we call this |
I guess we can roll with that for now. I still have some reservations with "open" terminology - there is also I guess we can nail down namings later, but as a general remark part of me slightly feels that if we are changing one handler name (confirm->open) then it may be less confusing if we changed another making it two instead of one outlier. Some food for thought could be: func ChanUpgradePropose()
func ChanUpgradeTry()
func ChanUpgradeAck()
func ChanUpgradeAccept() / ChanUpgradeComplete() or any other suitable namings. I like the idea of there not being just one outlier in terminology from the opening handshake and I think "accept" or "complete" terminology could fit well. edit: I still think I prefer Init to Propose in the above tho |
closed in #3759 |
Summary
Implement
openUpgradeHandshake
subprotocol in the spec. The function name may be changed to align better with our codebase (cc @damiannolan if you have any ideas)The check for deleting the counterparty last packet sequence send may be skipped for now as the mapping may not exist when this issue is implemented
Spec pr
Code from spec:
Code is subject to change based on pr reviews at the time of writing. Please add a basic unit test
For Admin Use
The text was updated successfully, but these errors were encountered: