Skip to content
This repository has been archived by the owner on Dec 13, 2019. It is now read-only.

[node] Challenge protocol #2465

Open
LayneHaber opened this issue Sep 24, 2019 · 0 comments
Open

[node] Challenge protocol #2465

LayneHaber opened this issue Sep 24, 2019 · 0 comments

Comments

@LayneHaber
Copy link
Collaborator

LayneHaber commented Sep 24, 2019

Helper methods for initiating and responding to challenges needed on the node package.

This will be important for reclaiming collateral from offline users, or breaking even in the case of linked transfers if the sender does not come back online.

Will likely need the following methods:

  • getActiveChallenges -- returns all active challenges
  • initiateChallenge(appId) -- begins a challenge for a specific app
  • respondToChallenge(appId, appState) -- responds to challenges that have been initiated, may not need to provide a state here if it can be retrieved from the store
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant