I have followed Bios boot sequence tutorial from eosio and setup a private eos blockchain. The problem is the block producers i have created , when i tried to claim reward it shows "cannot claim rewards until the chain is activated (at least 15% of all tokens participate in voting). Also the blockproducer havnt produced any block, all the blocks are created by eosio.Can Someone tell what i am missing for block producers to produce the blocks and claim the rewards?
1 Answer
In [producer_pay.cpp][1]
, you'll find:
const int64_t min_activated_stake = 150'000'000'0000;
You'll want to either alter that when loading the contracts, or just issue tokens to some accounts and ensure that enough votes (150 million) have been cast to pass this threshold.
-
i have issued required tokens to my block producer account even after that it is'nt in the block producer schedule list. The schedule list only shows eosio and the blocks are getting signed by only eosio. Commented Jun 20, 2019 at 3:33
-
Have you issued the tokens and voted with them? (you'll need to delegate those tokens to a resource first as well) Commented Jun 21, 2019 at 14:22
-
Have you tried using eosio.bios action
setprods
? github.com/EOSIO/eosio.contracts/blob/… Commented Jun 21, 2019 at 14:33