PrevUpHomeNext

DisputedTx::updateVote

Update our vote given progression of consensus.

Synopsis
bool
updateVote(
    int percentTime,
    bool proposing);
Description

Updates our vote on this disputed transaction based on our peers' votes and how far along consensus has proceeded.

Parameters

Name

Description

percentTime

Percentage progress through consensus, e.g. 50% through or 90%.

proposing

Whether we are proposing to our peers in this round.

Return Value

Whether our vote changed


PrevUpHomeNext