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

Implement Transaction Model and repository #217

Open
0xsarvesh opened this issue Oct 3, 2019 · 0 comments
Open

Implement Transaction Model and repository #217

0xsarvesh opened this issue Oct 3, 2019 · 0 comments

Comments

@0xsarvesh
Copy link
Contributor

0xsarvesh commented Oct 3, 2019

Proposal

Definition:
1. Id: Auto increment
2. Transaction hash
3. Entity Type(Message, Requests) // Please validate if this is needed, this info can be derived from action Type.
4. Action Type(
AcceptStakeRequest, ConfirmStake, ProveGateway, ProveCoGateway, ProgressStake, ProgressMint)
5. Identifier(i.e. primary key like MessageHash, stakeRequestHash)
6. Status (Submitted, SubmissionFailed, Confirmed, Lost, Retried, TimeOut)
7. Retry count

Status can be defined by implementor

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