Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PRT-227 refactor chain sentry class (lavanet#218)
* added chainTracker class * api change to add specific block * finished implementing chainTracker * better performance, fixed some bugs, added protections for polling too early, added unitests, WIP * fixed all issues, added unitests for fork callbacks * added latest block as arg to callbacks * fixed fork identification bug * allows cancelling the ticker in chainTracker * lint spaces * lint space * lint * better fetch performance * improved readability of the fetcher code * added a unit test verifying stateTracker doesn't need to read previous blocks if nothing changed * modified parameters to make the unit-test more interesting * lint * added documentation and error codes are sparser
- Loading branch information