def prepare_view_change(self, proposed_view_no: int):
    if (not self.is_preparing):
        logger.info('VCStartMsgStrategy: Starting prepare_view_change process')
        self._set_req_handlers()
        vcs_msg = ViewChangeStartMessage(proposed_view_no)
        nodeInBox = self.node.nodeInBox
        nodeInBox.append((vcs_msg, self.node.name))
        self.is_preparing = True
def prepare_view_change(self, proposed_view_no: int):
    if (not self.is_preparing):
        logger.info('VCStartMsgStrategy: Starting prepare_view_change process')
        self._set_req_handlers()
        vcs_msg = ViewChangeStartMessage(proposed_view_no)
        nodeInBox = self.node.nodeInBox
        nodeInBox.append((vcs_msg, self.node.name))
        self.is_preparing = True