Pastel Network
  • Introduction
    • Pastel Overview
    • Pastel Token (PSL)
    • PSL Token Economics
    • Pastel Consensus Protocol
    • Key Features
  • Basics
    • Smart Ticket Structure
    • Fees and Burn
    • SuperNodes
      • SuperNode Staking
      • SuperNode States & Implications for Stake
      • SuperNode Operator Selection
      • SuperNode Fees
    • Governance
    • Accounts
  • Development Guide
    • Types of Pastel installations
      • Pastel Network Architecture
    • Requirements
      • Default directories
    • QuickStart: Running a Node
    • WalletNode
      • API
        • Sense API
        • Cascade API
        • NFT API
      • GRPC Interface
    • SuperNode
      • GRPC Interface
    • Pasteld Daemon
      • Pasteld CLI Implementation
      • Pasteld JSON-RPC API
    • Pastel-CLI
    • Understanding Smart Tickets
      • NFT Tickets
      • PastelID Tickets
    • Testing
    • Tutorials
      • Pastel Wallet App
    • Public Endpoints & Resources
    • Configurations
  • Sense Protocol
    • Sense Overview
    • Sense Basics
    • Building with Sense API
  • Cascade Protocol
    • Cascade Overview
    • Cascade Basics
    • Building with Cascade API
Powered by GitBook
On this page
  • Voter Selection
  • Voting
  • Winning SuperNode

Was this helpful?

Export as PDF
  1. Basics
  2. SuperNodes

SuperNode Operator Selection

SuperNode Operator Selection is the process to randomly select a SuperNode to receive the blockReward, perform network operations, and earn associated transaction fees.

At each current blockHeight=X, SuperNode Operators are selected to receive blockRewards and perform various operations to take place at a future blockHeight=X+N. N is currently set at 10 blocks.

Voter Selection

Upon every block notification at current blockHeight=X, the top-20 ranked SuperNodes in the active-set are selected as Voters. Ranking is achieved by calculating the XOR distance of the hash of each SuperNode's key against the hash of previous blockHeight=X-M. M is currently set at 101 blocks.

Voting

Each Voter then places an individual vote through the following process:

  1. Sort the active-set of SuperNodes by the time since last reward payment from oldest to most recent.

  2. Select the top 10% of oldest payees from Step 1.

  3. Calculate the rank of the top 10% of oldest payees from Step 2. Ranking is achieved by calculating the the XOR distance of the hash of each SuperNode's private key versus the hash of previous blockHeight=X-M. M is currently set at 101 blocks.

  4. Vote on the highest ranked SuperNode from Step 3 and broadcast the signed vote to the network.

Winning SuperNode

The SuperNode that receives the most votes from Voting is selected as the Winner for blockHeight=X+N where N is currently set at 10 blocks. In the event of a tie or that no SuperNode is selected, the Voting process repeats. At blockHeight=X+N, the Winner is the recipient of the blockReward, responsible for performing all related network functionality, and eligible to receive related transaction fees.

Verifying SuperNodes

SuperNodes with the second and third most Votes received from the Voting process are also selected to verify all operations performed by the Winning SuperNode at blockHeight=X+N. While they are not eligible to receive any portion of the blockReward, they do receive a portion of the related transaction fees for performing additional verification and security functions.

PreviousSuperNode States & Implications for StakeNextSuperNode Fees

Last updated 3 years ago

Was this helpful?