bitshares / bitshares/bitsharesjs

Recognize that Node is out of sync and throw corresponding error

Open
#35 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
96
Forks
151
Avg merge
7h 39m
Merged PRs (30d)
2

Description

If a node is out of sync, user still sees the "Sync clock" issue. Also include the chain head block and time in the thrown error.

https://github.com/bitshares/bitsharesjs/blob/6bad1cf876fb0a0737ca8f654d6615e1358ea758/lib/chain/src/ChainStore.js#L151

Contributor guide

No contributing guide indexed for this repository

Research direction

Start in lib/chain/src/ChainStore.js at the referenced line and inspect how the current "Sync clock" issue is detected and thrown. Confirm how the chain head block and time are available there. Done means an out-of-sync node produces the corresponding error and includes that head block and time.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
blockchain
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.