| 
    rippled
    
   | 
 
The amendment table stores the list of enabled and potential amendments. More...
#include <AmendmentTable.h>

Classes | |
| struct | FeatureInfo | 
Public Member Functions | |
| virtual | ~AmendmentTable ()=default | 
| virtual uint256 | find (std::string const &name) const =0 | 
| virtual bool | veto (uint256 const &amendment)=0 | 
| virtual bool | unVeto (uint256 const &amendment)=0 | 
| virtual bool | enable (uint256 const &amendment)=0 | 
| virtual bool | isEnabled (uint256 const &amendment) const =0 | 
| virtual bool | isSupported (uint256 const &amendment) const =0 | 
| virtual bool | hasUnsupportedEnabled () const =0 | 
| returns true if one or more amendments on the network have been enabled that this server does not support   | |
| virtual std::optional< NetClock::time_point > | firstUnsupportedExpected () const =0 | 
| virtual Json::Value | getJson (bool isAdmin) const =0 | 
| virtual Json::Value | getJson (uint256 const &amendment, bool isAdmin) const =0 | 
| Returns a Json::objectValue.   | |
| void | doValidatedLedger (std::shared_ptr< ReadView const > const &lastValidatedLedger) | 
| Called when a new fully-validated ledger is accepted.   | |
| virtual bool | needValidatedLedger (LedgerIndex seq) const =0 | 
| Called to determine whether the amendment logic needs to process a new validated ledger.   | |
| virtual void | doValidatedLedger (LedgerIndex ledgerSeq, std::set< uint256 > const &enabled, majorityAmendments_t const &majority)=0 | 
| virtual void | trustChanged (hash_set< PublicKey > const &allTrusted)=0 | 
| virtual std::map< uint256, std::uint32_t > | doVoting (Rules const &rules, NetClock::time_point closeTime, std::set< uint256 > const &enabledAmendments, majorityAmendments_t const &majorityAmendments, std::vector< std::shared_ptr< STValidation > > const &valSet)=0 | 
| virtual std::vector< uint256 > | doValidation (std::set< uint256 > const &enabled) const =0 | 
| virtual std::vector< uint256 > | getDesired () const =0 | 
| void | doVoting (std::shared_ptr< ReadView const > const &lastClosedLedger, std::vector< std::shared_ptr< STValidation > > const &parentValidations, std::shared_ptr< SHAMap > const &initialPosition, beast::Journal j) | 
The amendment table stores the list of enabled and potential amendments.
Individuals amendments are voted on by validators during the consensus process.
Definition at line 38 of file AmendmentTable.h.
      
  | 
  virtualdefault | 
      
  | 
  pure virtual | 
Implemented in ripple::AmendmentTableImpl.
      
  | 
  pure virtual | 
Implemented in ripple::AmendmentTableImpl.
      
  | 
  pure virtual | 
Implemented in ripple::AmendmentTableImpl.
      
  | 
  pure virtual | 
Implemented in ripple::AmendmentTableImpl.
      
  | 
  pure virtual | 
Implemented in ripple::AmendmentTableImpl.
      
  | 
  pure virtual | 
Implemented in ripple::AmendmentTableImpl.
      
  | 
  pure virtual | 
returns true if one or more amendments on the network have been enabled that this server does not support
Implemented in ripple::AmendmentTableImpl.
      
  | 
  pure virtual | 
Implemented in ripple::AmendmentTableImpl.
      
  | 
  pure virtual | 
Implemented in ripple::AmendmentTableImpl.
      
  | 
  pure virtual | 
Returns a Json::objectValue.
Implemented in ripple::AmendmentTableImpl.
| void ripple::AmendmentTable::doValidatedLedger | ( | std::shared_ptr< ReadView const > const & | lastValidatedLedger | ) | 
Called when a new fully-validated ledger is accepted.
Definition at line 93 of file AmendmentTable.h.
      
  | 
  pure virtual | 
Called to determine whether the amendment logic needs to process a new validated ledger.
(If it could have changed things.)
Implemented in ripple::AmendmentTableImpl.
      
  | 
  pure virtual | 
Implemented in ripple::AmendmentTableImpl.
      
  | 
  pure virtual | 
Implemented in ripple::AmendmentTableImpl.
      
  | 
  pure virtual | 
Implemented in ripple::AmendmentTableImpl.
      
  | 
  pure virtual | 
Implemented in ripple::AmendmentTableImpl.
      
  | 
  pure virtual | 
Implemented in ripple::AmendmentTableImpl.
| void ripple::AmendmentTable::doVoting | ( | std::shared_ptr< ReadView const > const & | lastClosedLedger, | 
| std::vector< std::shared_ptr< STValidation > > const & | parentValidations, | ||
| std::shared_ptr< SHAMap > const & | initialPosition, | ||
| beast::Journal | j | ||
| ) | 
Definition at line 148 of file AmendmentTable.h.