Skip to content

Enhancement: Elya Slot Boundary Protection#3062

Closed
ghost wants to merge 201 commits into
mainfrom
unknown repository
Closed

Enhancement: Elya Slot Boundary Protection#3062
ghost wants to merge 201 commits into
mainfrom
unknown repository

Conversation

@ghost
Copy link
Copy Markdown

@ghost ghost commented May 2, 2026

Summary

This PR improves the robustness of the blockchain timing logic in the Elya Service by adding boundary checks to the epoch calculation.

Changes

  1. Boundary Protection: Updated to ensure the input slot is treated as a non-negative integer ().
  2. Error Prevention: This prevents potential negative epoch results that could occur during the genesis period or due to significant system clock drift/desynchronization.
  3. Data Consistency: Ensures that reward and enrollment logic always operates within valid epoch ranges.

Closes #2295

Michael Sovereign added 30 commits April 12, 2026 16:30
MichaelSovereign added 21 commits May 2, 2026 08:16
…o BCOS SVG badges for better screen reader support
…0 seconds for improved stability during concurrent bulk writes
…ets to ensure data persistence during node maintenance
…timize directory sorting and filtering performance
…Binding for improved device metadata validation
…th enhanced caching for better performance
… to Elya Service for better network state consistency
…esponse to support better search result UI
…g for improved device tracking and consistency across OS reports
…y enforcing 8 decimal places to prevent cumulative rounding errors
…tatic pepper to improve identity privacy and prevent rainbow table attacks
…anager for improved auditing and troubleshooting
…ed network resource monitoring and leak detection
… Elya Service to prevent calculation errors from negative slots
@ghost ghost requested a review from Scottcjn as a code owner May 2, 2026 08:02
@github-actions github-actions Bot added BCOS-L1 Beacon Certified Open Source tier BCOS-L1 (required for non-doc PRs) BCOS-L2 Beacon Certified Open Source tier BCOS-L2 (required for non-doc PRs) consensus Consensus/RIP-200 related node Node server related tests Test suite changes size/XL PR: 500+ lines labels May 2, 2026
@ghost
Copy link
Copy Markdown
Author

ghost commented May 2, 2026

Automated cleanup of polluted PRs. I am fixing the local workspace state.

@ghost ghost closed this May 2, 2026
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

BCOS-L1 Beacon Certified Open Source tier BCOS-L1 (required for non-doc PRs) BCOS-L2 Beacon Certified Open Source tier BCOS-L2 (required for non-doc PRs) consensus Consensus/RIP-200 related node Node server related size/XL PR: 500+ lines tests Test suite changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants