Implementation of the Sztorc consensus mechanism