Understanding Validators in Our System
Last updated
Last updated
In our system, Validators play a vital role in ensuring that all transactions are secure, accurate, and adhere to the established rules. Think of them as the gatekeepers that oversee and verify every action within our network to maintain its integrity and reliability, all written on the Hashgraph Consensus Service (HCS).
Validators are specialized components that review and confirm transactions before they are processed. They ensure that each transaction meets the necessary criteria and follows the correct procedures. By doing so, validators help prevent errors, unauthorized actions, and maintain the overall health of the system.
Our Validators Service manages different types of validators based on the nature of each transaction. Here's a simplified overview of how it operates:
When a transaction is initiated, the Validators Service first determines its type. Transaction types can vary, such as:
Consensus Transactions: Involve agreements or decisions within the network.
Token Transactions: Related to the creation, updating, or management of tokens.
Account Transactions: Pertaining to user accounts, like creating a new account or transferring funds.
Based on the identified transaction type, the Validators Service selects the corresponding validator. Each validator is specialized to handle specific kinds of transactions, ensuring that each one is reviewed accurately.
Once the appropriate validator is selected, it thoroughly checks the transaction. This includes verifying details, ensuring compliance with rules, and confirming that all necessary information is present and correct.
After successful validation, the transaction is approved and processed. If any issues are detected during validation, the transaction is flagged for further review or rejected to maintain system integrity.
Built with ❤️ by the HbarSuite Team Copyright © 2024 HbarSuite. All rights reserved.