Function eosio_sys::set_active_producers
source · Expand description
@brief Set new active producers
Set new active producers. Producers will only be activated once the block which starts the next round is irrreversible
@param producer_data - pointer to producer schedule packed as bytes
@param producer_data_size - size of the packed producer schedule
@pre producer_data
is a valid pointer to a range of memory at least producer_data_size
bytes long that contains serialized produced schedule data