|
rippled
|
The status of all amendments requested in a given window. More...

Public Member Functions | |
| AmendmentSet (Rules const &rules, TrustedVotes const &trustedVotes, std::lock_guard< std::mutex > const &lock) | |
| 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_ |
| int | trustedValidations_ = 0 |
| int | threshold_ = 0 |
The status of all amendments requested in a given window.
Definition at line 295 of file AmendmentTable.cpp.
| ripple::AmendmentSet::AmendmentSet | ( | Rules const & | rules, |
| TrustedVotes const & | trustedVotes, | ||
| std::lock_guard< std::mutex > const & | lock | ||
| ) |
Definition at line 306 of file AmendmentTable.cpp.
| bool ripple::AmendmentSet::passes | ( | uint256 const & | amendment | ) | const |
Definition at line 325 of file AmendmentTable.cpp.
| int ripple::AmendmentSet::votes | ( | uint256 const & | amendment | ) | const |
Definition at line 341 of file AmendmentTable.cpp.
| int ripple::AmendmentSet::trustedValidations | ( | ) | const |
Definition at line 352 of file AmendmentTable.cpp.
| int ripple::AmendmentSet::threshold | ( | ) | const |
Definition at line 358 of file AmendmentTable.cpp.
Definition at line 299 of file AmendmentTable.cpp.
|
private |
Definition at line 301 of file AmendmentTable.cpp.
|
private |
Definition at line 303 of file AmendmentTable.cpp.