Skip to content

Issues on authorizing new validator to propose and mine new blocks #23

@tinenhao

Description

@tinenhao

Right now I have setup the Binance Application Sidechain (BAS) on my private network with the basic nodes (validator, bootnodes, rpc nodes etc). However, I am trying to setup an independent validator node (not part of the first 3 validator nodes as defined in the genesis config file) to join the network but I am facing the error of "unauthorized validator" and the node is thus not allowed to propose or mine any new blocks. So I was wondering how can I fix this. If I'm not wrong the way to go is get the current nodes to make a proposal to authorize the new node but im not exactly sure how to do this. Below are the exact steps I took to setup the new validator node on an independent server.

  1. Obtain blockchain binary file from bas-template-bsc
  2. Obtain exact same genesis file as the running blockchain
  3. Setup new miner with the following commands:
    ./geth --datadir miner1 init genesis.json
    ./geth --datadir miner1 account new
  4. Run the node with the following command:
    ./geth --bootnodes={bootnode_enode_address} --datadir "miner1" --verbosity=9 --networkid={network_id} --mine --allow-insecure-unlock --unlock 0 --password "./password.txt" --miner.etherbase={miner_address}

Screenshot of the logs attached below
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions