|
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. | |
| bool | enabled = false |
| Indicates that the amendment has been enabled. | |
| bool | supported = false |
| Indicates an amendment that this server has code support for. | |
| std::string | name |
| The name of this amendment, possibly empty. | |
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 292 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 295 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 302 of file AmendmentTable.cpp.
| bool ripple::AmendmentState::supported = false |
Indicates an amendment that this server has code support for.
Definition at line 305 of file AmendmentTable.cpp.
| std::string ripple::AmendmentState::name |
The name of this amendment, possibly empty.
Definition at line 308 of file AmendmentTable.cpp.