init for the main loop of the consensus refactor