def start(self):
        """Increment current term, vote for herself & send vote requests"""
        self.storage.update({
            'term': self.storage.term + 1,
            'voted_for': self.id
        })

        self.vote_count = 1
        self.request_vote()
        self.election_timer.start()
def start ( self ) : self . storage . update ( { 'term' : self . storage . term + 1 , 'voted_for' : self . id } ) self . vote_count = 1 self . request_vote ( ) self . election_timer . start ( )
Increment current term, vote for herself & send vote requests