Most of core/consensus implemented. Just need code for becoming leader.