Skip to content

Incentives: Use agreement round when estimating a node's proposal interval#6164

Merged
jannotti merged 6 commits intoalgorand:feature/heartbeatsfrom
jannotti:incentive-fixes
Nov 6, 2024
Merged

Incentives: Use agreement round when estimating a node's proposal interval#6164
jannotti merged 6 commits intoalgorand:feature/heartbeatsfrom
jannotti:incentive-fixes

Conversation

@jannotti
Copy link
Copy Markdown
Contributor

@jannotti jannotti commented Nov 4, 2024

This PR is intended to fix some bugs in the block incentive scheme related to detecting when an account is absent.

  1. If a node goes online with much more stake than the current total online stake, it could be immediately suspended because it appears to be "absent" in the very round in which it joins.

  2. Because keyreg sets LastHeartbeat to fv, if a txn takes a while to get onto the chain, the account may already be absent.

  3. After going online, a node can't vote for 320 rounds. So, if it joins with, say, 5% of stake, then after 200 rounds it is already absent.

@jannotti jannotti self-assigned this Nov 4, 2024
@jannotti jannotti requested a review from cce November 5, 2024 16:34
@jannotti jannotti marked this pull request as ready for review November 6, 2024 14:23
@jannotti jannotti merged commit b2cc8fe into algorand:feature/heartbeats Nov 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant