rippled
Public Member Functions | Public Attributes | List of all members
ripple::AmendmentState Struct Reference

Current state of an amendment. More...

Collaboration diagram for ripple::AmendmentState:
Collaboration graph
[legend]

Public Member Functions

 AmendmentState ()=default
 

Public Attributes

bool vetoed = false
 If an amendment is vetoed, a server will not support it. More...
 
bool enabled = false
 Indicates that the amendment has been enabled. More...
 
bool supported = false
 Indicates an amendment that this server has code support for. More...
 
std::string name
 The name of this amendment, possibly empty. More...
 

Detailed Description

Current state of an amendment.

Tells if a amendment is supported, enabled or vetoed. A vetoed amendment means the node will never announce its support.

Definition at line 73 of file AmendmentTable.cpp.

Constructor & Destructor Documentation

◆ AmendmentState()

ripple::AmendmentState::AmendmentState ( )
explicitdefault

Member Data Documentation

◆ vetoed

bool ripple::AmendmentState::vetoed = false

If an amendment is vetoed, a server will not support it.

Definition at line 76 of file AmendmentTable.cpp.

◆ enabled

bool ripple::AmendmentState::enabled = false

Indicates that the amendment has been enabled.

This is a one-way switch: once an amendment is enabled it can never be disabled, but it can be superseded by a subsequent amendment.

Definition at line 83 of file AmendmentTable.cpp.

◆ supported

bool ripple::AmendmentState::supported = false

Indicates an amendment that this server has code support for.

Definition at line 86 of file AmendmentTable.cpp.

◆ name

std::string ripple::AmendmentState::name

The name of this amendment, possibly empty.

Definition at line 89 of file AmendmentTable.cpp.