Decentralised hash verification
CPU lightnode verification on X1 blockchain.
Last updated
CPU lightnode verification on X1 blockchain.
Last updated
When miners discover hashes, their legitimacy needs to be verified in a decentralized manner. XenBlock miners attempt to mint tokens from mining, and verifiers grant permission for this through the Distributed Controller smart contract.
XenBlock miners submit their hashes to the X1 Blockchain ledger, where they remain in an unverified state. The X1 database records which miner submitted each hash and tracks whether it has been verified.
Anyone with a phone or laptop can participate in verifying hashes and submitting votes. Verification is performed using the verifier's CPU by sending queries to the Distributed Controller smart contract, which then provides sets of hashes to verify.
The Distributed Controller smart contract is operated by X1 validators. This immutable program collects votes from CPU verifiers, and once a sufficient number of votes for a hash are submitted, it rewards the CPU verifier with XN (the native gas coin on X1) and grants XNM (the mining reward token) to the XenBlock miner.
Lightnode is a simple webpage accessible through any browser (phone/laptop). A verifier can connect to it, register a SOL address to receive XN verification rewards, and opt-in with their CPU resources to start verifying hashes.
Verifying involves fetching incoming hashes and checking if they match the target, then casting a vote. Verifiers don't perform any hashing themselves; they are given the hashes to verify.
Verification is an inexpensive task, making it accessible to anyone. By eliminating the need to run an X1 node, barriers to verification are removed, significantly enhancing decentralization. The system is entirely decentralized, preventing any party from censoring transactions. Verification is permissionless, allowing anyone with spare CPU capacity to opt-in and earn XN rewards. This decentralized hash verification encourages greater adoption of X1, XenBlock, and cryptocurrency in general, providing an easy entry point into crypto by simply utilizing spare CPU resources.
X1 validators must be optimized and operating at full capacity for validating on-chain transactions and producing blocks. Removing verification reduces the load on the validators' CPU resources.