rippled
|
Current state of an amendment. More...
Public Member Functions | |
AmendmentState ()=default | |
Public Attributes | |
AmendmentVote | vote = AmendmentVote::down |
If an amendment is down-voted, a server will not vote to enable 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... | |
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 74 of file AmendmentTable.cpp.
|
explicitdefault |
AmendmentVote ripple::AmendmentState::vote = AmendmentVote::down |
If an amendment is down-voted, a server will not vote to enable it.
Definition at line 77 of file AmendmentTable.cpp.
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 84 of file AmendmentTable.cpp.
bool ripple::AmendmentState::supported = false |
Indicates an amendment that this server has code support for.
Definition at line 87 of file AmendmentTable.cpp.
std::string ripple::AmendmentState::name |
The name of this amendment, possibly empty.
Definition at line 90 of file AmendmentTable.cpp.