mirror of
https://github.com/XRPLF/rippled.git
synced 2026-06-03 00:36:48 +00:00
fix build
This commit is contained in:
@@ -62,11 +62,22 @@ private:
|
||||
*/
|
||||
class TestServiceRegistry : public ServiceRegistry
|
||||
{
|
||||
static Fees
|
||||
defaultFees()
|
||||
{
|
||||
Fees fees{XRPAmount{10}, XRPAmount{10 * kDropsPerXrp}, XRPAmount{2 * kDropsPerXrp}};
|
||||
fees.extensionComputeLimit = 1'000'000;
|
||||
fees.extensionSizeLimit = 100'000;
|
||||
fees.gasPrice = 1'000'000;
|
||||
return fees;
|
||||
}
|
||||
|
||||
TestLogs logs_{beast::Severity::Warning};
|
||||
boost::asio::io_context io_context_;
|
||||
TestFamily family_{logs_.journal("TestFamily")};
|
||||
LoadFeeTrack feeTrack_{logs_.journal("LoadFeeTrack")};
|
||||
TestNetworkIDService networkIDService_;
|
||||
Fees fees_{defaultFees()};
|
||||
HashRouter hashRouter_{HashRouter::Setup{}, stopwatch()};
|
||||
NodeCache tempNodeCache_{
|
||||
"TempNodeCache",
|
||||
@@ -365,6 +376,12 @@ public:
|
||||
throw std::logic_error("TestServiceRegistry::getWalletDB() not implemented");
|
||||
}
|
||||
|
||||
Fees
|
||||
getFees() const override
|
||||
{
|
||||
return fees_;
|
||||
}
|
||||
|
||||
// Temporary: Get the underlying Application
|
||||
Application&
|
||||
getApp() override
|
||||
|
||||
Reference in New Issue
Block a user