-
Notifications
You must be signed in to change notification settings - Fork 474
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
Incentives: Heartbeat transaction type #6149
Conversation
Some TODOS: 1) Lock it down. Singleton group? Top-level? 2) Make it free for challenged nodes. 3) Get the heartbeat service going to keep those nodes online. 4) Move the crypto earlier
936b219
to
9d7d57b
Compare
ee3b0d4
to
9162eec
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## feature/heartbeats #6149 +/- ##
======================================================
+ Coverage 54.17% 56.39% +2.21%
======================================================
Files 494 497 +3
Lines 70060 70231 +171
======================================================
+ Hits 37957 39605 +1648
+ Misses 29357 27931 -1426
+ Partials 2746 2695 -51 ☔ View full report in Codecov by Sentry. |
The HeartbeatProof type just makes the Heartbeat transactions a little cleaner - they lack the legacy field that OneTimeSignature can't remove.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Comments so far
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Additional comments
More careful heartbeat in service.go so we don't heartbeat every round, and we use a lower firstValid in case we are slightly ahead of the nodes we send it to. We don't want them to drop it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm good with merging to the feature branch.
heartbeat/README.md is the best place to read about these changes (along with the payout system that motivated them)