Validator Election Process on Core
Overview
The validator election process in Core's Satoshi Plus consensus mechanism is where DPoW, DPoS, and Non-Custodial Bitcoin Staking are synthesized. Bitcoin miners/mining pools, CORE stakers, and Bitcoin stakers contribute to the election of validators via a hybrid scoring system.
Validators play a vital role in producing blocks and validating transactions on the Core network. The election process determines which validators will be part of the active validator set for each round, ensuring that the most trusted and well-supported validators are chosen to maintain the network’s integrity.
Step by Step Process
-
Delegation of Resources:
- Bitcoin Miners: Bitcoin miners delegate their hash power to Core Validators by including specific information in the
op_return
field of the coinbase transaction. - CORE Token Stakers: Holders of CORE tokens delegate their tokens to their preferred Core Validators.
- Bitcoin Stakers: Bitcoin holders lock their Bitcoin in absolute time locks and delegate their assets to their preferred Core Validators.
- Bitcoin Miners: Bitcoin miners delegate their hash power to Core Validators by including specific information in the
-
Hybrid Score Calculation:
- The hybrid score for each validator is calculated based on the amount of delegated hash power from Bitcoin miners, the amount of staked CORE tokens, and the amount of staked Bitcoin.
- The formula balances these three components to produce a score that reflects the validator’s overall support and reliability.
-
Election of Validators:
- Every round, which lasts one day, the validators with the highest hybrid scores are elected to the validator set.
- The top 27 validators with the highest scores are chosen to be part of the active validator set for that round.
-
Validator Responsibilities:
- Elected validators are responsible for producing blocks and validating transactions throughout the round.
- They work in a round-robin manner, taking turns to produce blocks during each slot, with each slot lasting three seconds.
-
Updating the Validator Set:
- The validator set is updated every 200 blocks to ensure stability and performance. If any validator is jailed or slashed, others continue to produce blocks without interruption.
- At the end of each round, the accumulated rewards are calculated and distributed, and a new validator set is determined based on the updated hybrid scores.
-
Rewards Distribution:
- Validators and their delegators earn CORE token rewards based on their performance and the amount of resources delegated to them.
- These rewards incentivize continuous participation and diligent performance by validators.
Workflow of the Validator Election Process
The validator election process in Satoshi Plus involves key steps, supported by specific equations to quantify stake and hash power contributions:
-
Stake Delegation:
- CORE and Bitcoin holders stake and delegate their tokens to Core validators. This delegation is a form of voting, where the weight of each vote corresponds to the number of staked tokens.
-
Hash Power Delegation:
- Bitcoin miners delegate a portion of their hash power by specifying their preferred validators in the Bitcoin blocks they mine. This process integrates Bitcoin's mining power into Core's security mechanism.
-
Validator Selection:
- Validators are selected based on the total support they receive, calculated by combining staked tokens (CORE and Bitcoin) and delegated hash power. The equation behind the hybrid score is:
Where,
- : Bitcoin hash power delegated to a validator.
- : Total hash power on Core.
- : Amount of CORE tokens staked to a validator.
- : Total CORE tokens staked on Core.
- : Amount of BTC tokens staked to a validator.
- : Total BTC tokens staked on Core.
- : Ratio assigned to hash power.
- : Ratio assigned to CORE staking.
- : Ratio assigned to BTC staking.
-
Block Production:
- After election, all validators are sorted roughly in order of their hybrid score, and take turns producing blocks in a round-robin manner before the process starts over again from the beginning. The present number of validators is 27, with the number of validators expected to increase over time as the network grows. What’s more, this mechanism provides additional security through improved efficiency and a tolerance for a large number of Byzantine players. Core is secure as long as no more than of the validators are malicious.
-
Reward Distribution:
-
Rewards are distributed based on contributions to network security, using the following formula:
Where:
- is the rewards received by the validator because of the hash power delegated to it (DPoW)
- is the rewards received by the validator because of the CORE delegated to it (DPoS)
- is validator rewards attributed to Bitcoin staking
- : Total rewards allocated to all delegators of the validaotr.
- : Proportion of rewards allocated to hash power.
- : Proportion of rewards allocated to CORE staking.
- : Proportion of rewards allocated to BTC staking.
- : Hybrid score of the validator.
For completeness, here are three other ratios of interest:
As for BTC staking, the rewards per unit are further subdivided based on the delegators’ dual staking yield tiers. Assuming that there are 4 boosted yield levels (PBASE, P1, P2, and PMAX) with dual staking yield multipliers (e, f, g, and h). The reward per unit for BTC staking will be calculated as follows
- Per unit BTC reward: of Pn = Yield Multiplier for Leveln
- of PBASE =
- of P1 =
- of P2 =
- of PMax =
Where:
- is the validator hash power rewards per unit;
- is the CORE token staking rewards per unit;
- is the Bitcoin staking rewards per unit;
- of PBASE is the BTC staking rewards per unit for PBASE delegator
- of PLevel1 is the BTC staking rewards per unit for PLevel1 delegator
- of PLevel2 is the BTC staking rewards per unit for PLevel2 delegator
- of PMAX is the BTC staking rewards per unit for PMAX delegator;
- Yield Multipliers: Each reward tier has a specific multiplier (e,f,g,h, ..., etc) that is multiplied to rewards earned per unit of BTC staked.
-
These reward-splitting functions are designed to create an active market for rewards while encouraging competition amongst the validator set for both delegated hash power and delegated stake (Bitcoin and CORE).
Flow Diagram of the Validator Election Process
The following diagram visually represents the Validator election process in Satoshi Plus:
This flowchart illustrates the cyclical process of the validator election and their ongoing responsibilities within Satoshi Plus. It emphasizes how stake and hash power delegations directly influence validator selection, block production, and reward distribution, driving a secure, decentralized, and efficiently managed network.