Skip to content
This repository was archived by the owner on Apr 23, 2024. It is now read-only.

doc: add discussion about why CAP-21 and CAP-40 are preferred over some other mechanisms #458

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

kalepail
Copy link
Contributor

@kalepail kalepail commented Jun 13, 2022

What

Add discussion about why CAP-21 and CAP-40 are preferred over some other mechanisms.

Why

It's come up in discussion recently about how HASH_X signers could play a similar role to the signed payload signer introduced in CAP-40, and how preauthorization transactions could play a similar role as well. We made decisions not to use these existing mechanisms and it is worth capturing why, especially since those decisions have security implications.

Co-authored-by: Leigh McCulloch [email protected]

@leighmcculloch leighmcculloch changed the title Rough in a Rationale section outlining why CAP 21 + 40 usage makes sense doc: rough in a rationale section outlining why CAP 21 + 40 usage makes sense Jun 15, 2022
@leighmcculloch leighmcculloch changed the title doc: rough in a rationale section outlining why CAP 21 + 40 usage makes sense doc: add discussion about why CAP-21 and CAP-40 are preferred over some other mechanisms Jun 15, 2022
@leighmcculloch leighmcculloch requested a review from acharb June 15, 2022 16:38
consumed without being successful the channel may be in a state where
participants would need to collaborate honestly to close the channel.

This constraint is why the protocol does not use claimable balances or
Copy link
Contributor Author

@kalepail kalepail Jun 15, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't quite understand why this has much to do with claimable balances. Or at least not from this comment. Would love more clarity over statements or when there are statements like this that clarity is added on how the logic here holds for claimable balances. Both alternative features would serve very different purposes (counter party transaction submission vs accounts) The difference in the usage of both options and the reason one would be chosen over something else is where you're losing me here.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants