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

The block issuing relies on an interval to issue validation blocks and thus might over-issue on a given slot #29

Open
alexsporn opened this issue Feb 22, 2024 · 0 comments
Labels
team-consensus Issues for Consensus Team
Milestone

Comments

@alexsporn
Copy link
Member

Right now we rely on the timed taskexecutor to properly tick at the correct interval (based on SlotDurationInSeconds and ValidationBlocksPerSlot). When the executor ticks we take time.Now() as the block issuing time.

If the validator issues more blocks than ValidationBlocksPerSlot it will get punished with negative mana and the account will get locked, thus blocking any future validation blocks from being broadcasted to the network.

Relying just on ticks might not be a good idea here. We should maybe also keep track of the amount of blocks issued per slot to avoid edge-cases where we could issue more blocks than we want.

@alexsporn alexsporn moved this to Product Backlog in iota-core Feb 22, 2024
@alexsporn alexsporn added the team-node Issues for Node Team label Feb 22, 2024
@alexsporn alexsporn added this to the v1.0.0-beta milestone Feb 22, 2024
@muXxer muXxer added team-consensus Issues for Consensus Team and removed team-node Issues for Node Team labels Mar 4, 2024
@piotrm50 piotrm50 moved this from Product Backlog to Backlog in iota-core Mar 18, 2024
@piotrm50 piotrm50 modified the milestones: v1.0.0-beta, v1.0.0-rc Apr 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
team-consensus Issues for Consensus Team
Projects
Status: Backlog
Development

No branches or pull requests

3 participants