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

Heartbeat validator message #17

Closed
Ivshti opened this issue Jan 4, 2019 · 0 comments
Closed

Heartbeat validator message #17

Ivshti opened this issue Jan 4, 2019 · 0 comments
Assignees
Milestone

Comments

@Ivshti
Copy link
Member

Ivshti commented Jan 4, 2019

Periodically sign a Heartbeat event and send it to the other validators; this event might contain some data to distinguish the time, e.g. timestamp or sequence

this would solve #13, help with #6 and help the market determine the health of the channel

more accurately, it allows the market to distinguish between more detailed off-chain state: a waiting state where we are waiting for all validators to post a heartbeat, and then offline (a type of unhealthy state) which happens if some validator hasn't sent a heartbeat recently;

once this is done, tests must filter validator messages by type (otherwise the last messages will be full of Heartbeat)

see also: http://github.com/adexnetwork/adex-market/issues/1 and https://github.com/AdExNetwork/adex-protocol/blob/master/components/market.md

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

2 participants