A transaction discovered to be in dispute during conensus.
template< class Tx_t, class NodeID_t> class DisputedTx
Name |
Description |
---|---|
Constructor. |
|
The unique id/hash of the disputed transaction. |
|
JSON representation of dispute, used for debugging. |
|
Our vote on whether the transaction should be included. |
|
Change our vote. |
|
Change a peer's vote. |
|
The disputed transaction. |
|
Remove a peer's vote. |
|
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.
Type |
Description |
---|---|
|
The type for a transaction |
|
The type for a node identifier |
#include <ripple/consensus/DisputedTx.h>