quorum icon indicating copy to clipboard operation
quorum copied to clipboard

Unable to vote: Node is not configured for voting

Open jaguarg opened this issue 9 years ago • 1 comments

Hi,

I am getting the following error when running my node. I am building my own setup by mimicking the 7nodes examples : E0213 11:20:55.824797 core/quorum/block_voting.go:280] Unable to vote: Node is not configured for voting

ubuntu@ubuntu-xenial:~/slibquorum$ ./start.sh 
[*] Starting Constellation nodes
wait for constellation to start...
I0213 11:20:48.249306 ethdb/database.go:81] Allotted 128MB cache and 1024 file handles to /home/ubuntu/slibquorum/qdata/dd1/geth/chaindata
I0213 11:20:48.255484 ethdb/database.go:174] closed db:/home/ubuntu/slibquorum/qdata/dd1/geth/chaindata
I0213 11:20:48.256019 node/node.go:177] instance: Geth/v1.5.0-unstable-6d0bd810/linux/go1.7.3
I0213 11:20:48.256071 ethdb/database.go:81] Allotted 128MB cache and 1024 file handles to /home/ubuntu/slibquorum/qdata/dd1/geth/chaindata
I0213 11:20:48.258845 eth/db_upgrade.go:346] upgrading db log bloom bins
I0213 11:20:48.259091 eth/db_upgrade.go:354] upgrade completed in 248.437µs
I0213 11:20:48.259574 eth/backend.go:175] Protocol Versions: [63 62], Network Id: 87234
I0213 11:20:48.260240 core/blockchain.go:221] Last header: #0 [c693d893…] TD=0
I0213 11:20:48.260284 core/blockchain.go:222] Last block: #0 [c693d893…] TD=0
I0213 11:20:48.260295 core/blockchain.go:223] Fast block: #0 [c693d893…] TD=0
I0213 11:20:48.261062 p2p/server.go:328] Starting Server
I0213 11:20:50.367222 p2p/discover/udp.go:217] Listening, enode://57899d00957cac37e677ceee49733512a33afef75766b55db1e3ff44a4dfc0f14a71ad6caf627735b3ecd767c8cafefd8ce0b7669abcc28c7c1b1f5f462c14db@[::]:21000
I0213 11:20:50.369329 node/node.go:412] HTTP endpoint opened: http://0.0.0.0:22000
I0213 11:20:50.369501 p2p/server.go:582] Listening on [::]:21000
I0213 11:20:50.369631 node/node.go:342] IPC endpoint opened: /home/ubuntu/slibquorum/qdata/dd1/geth.ipc
I0213 11:20:50.823090 cmd/geth/accountcmd.go:189] Unlocked account d7337738035b12f14e44a5d9b3dae275ccce390b
E0213 11:20:55.824797 core/quorum/block_voting.go:280] Unable to vote: Node is not configured for voting

Below is the genesis.json that I generated to match this setup

voteThreshold:  1
4 Voters : 
#0 Voter Address: 0xd7337738035b12f14e44a5d9b3dae275ccce390b
#1 Voter Address: 0x5622435f5d2ae1e6ac1792a1ce52cf90430da53b
#2 Voter Address: 0x80d8b4f047bcc56b36c194aa1de707ce1944c25f
#3 Voter Address: 0x958f3f2bcaf22b090103f72b0a64dc2c79dca329

2 Block Makers
#0 Block Maker Address: 0xd7337738035b12f14e44a5d9b3dae275ccce390b
#1 Block Maker Address: 0xc39cfc95f606d7dd9b6f2710a243a16e6ae3d492

{
    "alloc": {
        "0x0000000000000000000000000000000000000020": {
            "code": "606060 ..... 00360200190a16100f656",
            "storage": {
                "0x0000000000000000000000000000000000000000000000000000000000000001": "0x01",
                "0x0000000000000000000000000000000000000000000000000000000000000002": "0x04",
                "0xc57d32e96a0c5aaf699b1629a9bd56d03eca36d1e29ef7ab39b06c4168837750": "0x01",
                "0x0cda27081755ec676dc437da73afc7edf00e36a65af56254aff09620128d8f03": "0x01",
                "0xe0a1928612751260079a79c6cc47d5b19913f9dfc6c334b0f35ab517c950340c": "0x01",
                "0xcf5c9ed23cdc0211fc6b6807ef3088bbd8ea43399a94b7b54bb477e1bc7cdb41": "0x01",
                "0x0000000000000000000000000000000000000000000000000000000000000004": "0x02",
                "0xe0c3bd5b9e5f66526dcd0d515da030f4b25a74ff0105db9e4a756920f7f5f840": "0x01",
                "0x7c373f092f893671c3c920e2cfd32b9c94aa0f8359b7ea4699c6a6d10e15d1c6": "0x01"
            }
        },
        "0xd7337738035b12f14e44a5d9b3dae275ccce390b": {
            "balance": "1000000000000000000000000000"
        },
        "0x5622435f5d2ae1e6ac1792a1ce52cf90430da53b": {
            "balance": "1000000000000000000000000000"
        },
        "0x80d8b4f047bcc56b36c194aa1de707ce1944c25f": {
            "balance": "1000000000000000000000000000"
        },
        "0x958f3f2bcaf22b090103f72b0a64dc2c79dca329": {
            "balance": "1000000000000000000000000000"
        },
        "0xc39cfc95f606d7dd9b6f2710a243a16e6ae3d492": {
            "balance": "1000000000000000000000000000"
        }
    },
    "coinbase": "0xd7337738035b12f14e44a5d9b3dae275ccce390b",
    "config": {
        "homesteadBlock": 0
    },
    "difficulty": "0x0",
    "extraData": "0x",
    "gasLimit": "0x2FEFD800",
    "mixhash": "0x00000000000000000000000000000000000000647572616c65787365646c6578",
    "nonce": "0x0",
    "parentHash": "0x0000000000000000000000000000000000000000000000000000000000000000",
    "timestamp": "0x00"
}

jaguarg avatar Feb 13 '17 11:02 jaguarg

Please ignore. The genesis file I generated had a mistake in it.

All good now

jaguarg avatar Feb 13 '17 14:02 jaguarg