hydrachain/consensus/synchronizer.py
def on_proposal(self, proposal, proto):
        "called to inform about synced peers"
        assert isinstance(proto, HDCProtocol)
        assert isinstance(proposal, Proposal)
        if proposal.height >= self.cm.height:
            assert proposal.lockset.is_valid
            self.last_active_protocol = proto
def on_proposal(self, proposal, proto):
        "called to inform about synced peers"
        assert isinstance(proto, HDCProtocol)
        assert isinstance(proposal, Proposal)
        if proposal.height >= self.cm.height:
            assert proposal.lockset.is_valid
            self.last_active_protocol = proto
def on_proposal ( self , proposal , proto ) : assert isinstance ( proto , HDCProtocol ) assert isinstance ( proposal , Proposal ) if proposal . height >= self . cm . height : assert proposal . lockset . is_valid self . last_active_protocol = proto
called to inform about synced peers
called to inform about synced peers