def notify_engine_activated(self, chain_head):
        """The consensus engine has been activated."""
        chain_head_bytes = chain_head.SerializeToString()
        self._notify(
            "consensus_notifier_notify_engine_activated",
            chain_head_bytes,
            len(chain_head_bytes))
def notify_engine_activated ( self , chain_head ) : chain_head_bytes = chain_head . SerializeToString ( ) self . _notify ( "consensus_notifier_notify_engine_activated" , chain_head_bytes , len ( chain_head_bytes ) )
The consensus engine has been activated.