rippled
|
The status of all amendments requested in a given window. More...
Public Member Functions | |
AmendmentSet (Rules const &rules, std::vector< std::shared_ptr< STValidation >> const &valSet) | |
bool | passes (uint256 const &amendment) const |
int | votes (uint256 const &amendment) const |
int | trustedValidations () const |
int | threshold () const |
Private Attributes | |
hash_map< uint256, int > | votes_ |
Rules const & | rules_ |
int | trustedValidations_ = 0 |
int | threshold_ = 0 |
The status of all amendments requested in a given window.
Definition at line 96 of file AmendmentTable.cpp.
ripple::AmendmentSet::AmendmentSet | ( | Rules const & | rules, |
std::vector< std::shared_ptr< STValidation >> const & | valSet | ||
) |
Definition at line 108 of file AmendmentTable.cpp.
bool ripple::AmendmentSet::passes | ( | uint256 const & | amendment | ) | const |
Definition at line 147 of file AmendmentTable.cpp.
int ripple::AmendmentSet::votes | ( | uint256 const & | amendment | ) | const |
Definition at line 167 of file AmendmentTable.cpp.
int ripple::AmendmentSet::trustedValidations | ( | ) | const |
Definition at line 178 of file AmendmentTable.cpp.
int ripple::AmendmentSet::threshold | ( | ) | const |
Definition at line 184 of file AmendmentTable.cpp.
Definition at line 100 of file AmendmentTable.cpp.
|
private |
Definition at line 101 of file AmendmentTable.cpp.
|
private |
Definition at line 103 of file AmendmentTable.cpp.
|
private |
Definition at line 105 of file AmendmentTable.cpp.