Skip to content

feat: redistribution toggle - #5580

Open
sbackend123 wants to merge 4 commits into
masterfrom
feat/redistribution-toggle
Open

feat: redistribution toggle#5580
sbackend123 wants to merge 4 commits into
masterfrom
feat/redistribution-toggle

Conversation

@sbackend123

@sbackend123 sbackend123 commented Aug 26, 2026

Copy link
Copy Markdown
Contributor

Checklist

  • I have read the coding guide.
  • My change requires a documentation update, and I have done it.
  • I have added tests to cover my changes.
  • I have filled out the description and linked the related issues.

Description

  • Adds PUT /redistribution so operators can enable/disable participation in new redistribution rounds without restarting the node.
  • Exposes current toggle state as enabled on GET /redistributionstate.
  • When disabled, the agent skips sample/commit for new rounds; an already committed round still proceeds through reveal/claim.

Open API Spec Version Changes (if applicable)

Motivation and Context (Optional)

Related Issue (Optional)

#5313

Screenshots (if appropriate):

AI Disclosure

  • This PR contains code that has been generated by an LLM.
  • I have reviewed the AI generated code thoroughly.
  • I possess the technical expertise to responsibly review the code generated in this PR.

@sbackend123 sbackend123 changed the title feat: draft implementation feat: redistribution toggle Aug 28, 2026
@sbackend123
sbackend123 marked this pull request as ready for review August 28, 2026 10:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant