Skip to content

Issue #53 Dummy Adapter #54

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

Merged
merged 35 commits into from
Jun 10, 2019
Merged

Issue #53 Dummy Adapter #54

merged 35 commits into from
Jun 10, 2019

Conversation

elpiel
Copy link
Member

@elpiel elpiel commented Jun 4, 2019

Resolves to some extend #53

  • isChannelValid from here (js reference) is implemented with the SanityChecker
  • The check for channel.spec.withdrawPeriodStart < channel.validUntil was moved to it's own task in Channel Spec ChannelSpec fields #24
  • Setup adapter methods to use futures

TODOs:
Adapter trait:

  • unlock()
  • sign()
  • verify()
  • sessionFromToken
  • getAuthFor
  • getBalanceLeaf
  • getSignableStateRoot
  • MerkleTree

@elpiel elpiel added this to the 0.2.0 milestone Jun 4, 2019
}

#[derive(Debug)]
pub struct SanityError {}
Copy link
Member

Choose a reason for hiding this comment

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

we may get an anti-ableism PR one day but I'd rather wait for that than to think of another name for it

Copy link
Member Author

Choose a reason for hiding this comment

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

Agree, but validator was really not the name... So I went with something for now. It can change, since I am still exploring the domain around the Adapter. This may even disappear at the end, idk yet.

@elpiel elpiel force-pushed the issue-53-dummy-adapter branch from e81ee40 to f7768b4 Compare June 7, 2019 06:59
@elpiel elpiel requested a review from Ivshti June 7, 2019 10:04
@elpiel elpiel merged commit ec51ec4 into master Jun 10, 2019
@elpiel elpiel deleted the issue-53-dummy-adapter branch June 10, 2019 07:44
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

Successfully merging this pull request may close these issues.

2 participants