In a private EOS blockchain environment (think company/industry specific), is there a way to change the number of block producers in the network to be more than the 21 used in the public blockchain? If I am working in an industry that has, say, 40 players, can I configure the blockchain so that each of the 40 players can be a producer on the network?
1 Answer
You can change number of BPs in system contract,
Change "21" to your desired number as below:
refer:eos/contracts/eosio.system/voting.cpp
top_producers.reserve(**21**);
for ( auto it = idx.cbegin(); it != idx.cend() && top_producers.size() < **21** && 0 < it->total_votes && it->active(); ++it ) {
top_producers.emplace_back( std::pair<eosio::producer_key,uint16_t>({{it->owner, it->producer_key}, it->location}) );
}