PrevUpHomeNext

ConsensusResult::Dispute_t

Synopsis
using Dispute_t = DisputedTx< Tx_t, NodeID_t >;

ConsensusResult::Dispute_t

ripple::DisputedTx

ripple__DisputedTx

Member Functions

Name

Description

DisputedTx

Constructor.

ID

The unique id/hash of the disputed transaction.

getJson

JSON representation of dispute, used for debugging.

getOurVote

Our vote on whether the transaction should be included.

setOurVote

Change our vote.

setVote

Change a peer's vote.

tx

The disputed transaction.

unVote

Remove a peer's vote.

updateVote

Update our vote given progression of consensus.

During consensus, a DisputedTx is created when a transaction is discovered to be disputed. The object persists only as long as the dispute.

Undisputed transactions have no corresponding DisputedTx object.

Refer to Consensus for details on the template type requirements.

Template Parameters

Type

Description

Tx_t

The type for a transaction

NodeID_t

The type for a node identifier

Description
Header

#include <ripple/consensus/ConsensusTypes.h>


PrevUpHomeNext