Merge remote-tracking branch 'upstream/dev' into sync-2.4.0

This commit is contained in:
tequ
2025-11-06 14:46:53 +09:00
2 changed files with 17 additions and 1 deletions

View File

@@ -1534,7 +1534,7 @@ advisory_delete=0
# Unless an absolute path is specified, it will be considered relative to the
# folder in which the xahaud.cfg file is located.
[validators_file]
validators.txt
validators-xahau.txt
# Turn down default logging to save disk space in the long run.
# Valid values here are trace, debug, info, warning, error, and fatal

View File

@@ -1043,6 +1043,22 @@ public:
BEAST_EXPECT(hook[sfAccount.jsonName] == gw.human());
}
{
// Create a Cron
env(cron::set(gw),
cron::startTime(env.now().time_since_epoch().count() + 100),
cron::delay(100),
cron::repeat(200),
fee(XRP(1)));
env.close();
}
{
// Find the cron.
Json::Value const resp = acctObjs(gw, jss::cron);
BEAST_EXPECT(acctObjsIsSize(resp, 1));
auto const& cron = resp[jss::result][jss::account_objects][0u];
BEAST_EXPECT(cron[sfOwner.jsonName] == gw.human());
}
{
// See how "deletion_blockers_only" handles gw's directory.
Json::Value params;