Skip to content

Implements robust query mechanism#21

Open
abdulazeem-tk4vr wants to merge 13 commits intomainfrom
robustQuery
Open

Implements robust query mechanism#21
abdulazeem-tk4vr wants to merge 13 commits intomainfrom
robustQuery

Conversation

@abdulazeem-tk4vr
Copy link
Member

Implements a robust query mechanism for validator GET requests.

This change introduces a new module that queries multiple validators for the same request, tallies the responses for consensus, and returns the majority-agreed response. This enhances the reliability and accuracy of data retrieval.

Key features include:

  • Configurable redundancy and retry mechanism
  • Dynamic node selection based on performance
  • Consensus-based response verification

The configuration is added to config.json and the Config struct. The mechanism is integrated in http.rs to handle Validator GET requests.

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