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

The appointment receipt format can be simplified (appointment_accepted) #1

Open
sr-gi opened this issue Jun 28, 2020 · 0 comments
Open

Comments

@sr-gi
Copy link
Owner

sr-gi commented Jun 28, 2020

The current signature format for an appointment_accepted message is:

locator | encrypted_blob | to_self_delay | user_signature | start_block

However, the user_signature field already covers the first three fields. Therefore, the receipt could be simplified to:

user_signature | start_block

On disputes, the tower can prove that an appointment was requested by showing the appointment data (that is kept until completion) and the user signature, whereas the user can prove the tower agreement by showing the receipt signature.

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

No branches or pull requests

1 participant