xrpld
Loading...
Searching...
No Matches
AmendmentTableImpl.h
1#pragma once
2
3#include <xrpl/beast/utility/Journal.h>
4#include <xrpl/ledger/AmendmentTable.h>
5#include <xrpl/nodestore/Database.h>
6
7#include <chrono>
8#include <memory>
9#include <vector>
10
11namespace xrpl {
12
13std::unique_ptr<AmendmentTable>
15 ServiceRegistry& registry,
16 std::chrono::seconds majorityTime,
18 Section const& enabled,
19 Section const& vetoed,
20 beast::Journal journal);
21
22} // namespace xrpl
A generic endpoint for log messages.
Definition Journal.h:44
Holds a collection of configuration values.
Definition BasicConfig.h:29
Service registry for dependency injection.
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
Definition algorithm.h:5
std::unique_ptr< AmendmentTable > make_AmendmentTable(ServiceRegistry &registry, std::chrono::seconds majorityTime, std::vector< AmendmentTable::FeatureInfo > const &supported, Section const &enabled, Section const &vetoed, beast::Journal journal)