REI Network Documents
  • REI Network
    • Welcome to REI Network
    • Why We build REI Network
    • Introduction to $REI
  • Developer
    • Quick Start
    • API Reference
    • Token Addresses
    • System Contracts
      • StakeManager
      • Fee
      • ContractFee
      • Router
      • AbstractToken
      • CommissionShare
      • FeeToken
      • FeePool
      • ValidatorRewardPool
      • FreeFee
      • UnstakePool
      • FreeFeeToken
      • Config
    • Guides
      • Using The Graph
        • Using The Graph on REI Network
        • Running a Graph Node on REI Network
      • Using Gnosis Safe
      • Exchange Integration
  • REI DAO
    • What is REI DAO?
      • Background
      • Management content of REI DAO
      • How the REI DAO is implemented?
      • How REI DAO works?
    • Governance
      • About Governance
      • Governance Process
      • Voting with Snapshot
      • FAQ
    • Guides
      • Dashboard
      • Become a Validator
      • Jail Mechanism
      • Slash Mechanism
      • Voting for a Validator
      • Stake for Free Gas
      • Using BLS
        • Check BLS
      • REI@3.0.X Upgrade Guide
Powered by GitBook
On this page
  1. REI DAO
  2. Guides
  3. Using BLS

Check BLS

How to check whether the validator starts bls correctly. After starting the validator after adding the bls unlock command, using the rei attach command to connect to the ipc.

rei attach --datadir ~/reiDataDir

Type in the console

rei.getMinerInfo('blockNumber')

Where blockNumber is the hexadecimal of the block height you want to view, it is recommended to use the latest block height. Press Enter to view the validator information, for example

> rei.getMinerInfo('0xe11791')
> {
	"coinbase": "0x9b1aa72d791cb5143ca5e3816d3920501af081cb",
	"unlockAccount": [
		"9b1aa72d791cb5143ca5e3816d3920501af081cb"
	],
	"unlockBLSPublicKey": "0xb16c90a5b22add64a4989583f2338fabc34ee89cedca2fb5f9c1d42a9ea41cae65abd695f423424a661855b30d736cb8",
	"registerBLSPublicKey": "b16c90a5b22add64a4989583f2338fabc34ee89cedca2fb5f9c1d42a9ea41cae65abd695f423424a661855b30d736cb8"
}

Compare the public keys in the unlockBLSPublicKey and bls keystore files to see if they are the same

NOTE: registerBLSPublicKey will be displayed correctly after the block 15084585, and the previous block height will be displayed as null, but this does not affect.

PreviousUsing BLSNextREI@3.0.X Upgrade Guide

Last updated 1 year ago