From 338b646a3de17955af765ef7089d8caf14e05489 Mon Sep 17 00:00:00 2001 From: Richard Holland Date: Mon, 3 Jul 2023 09:24:58 +0000 Subject: [PATCH] build for v3 --- src/ripple/app/ledger/Ledger.h | 2 +- src/ripple/protocol/impl/Feature.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ripple/app/ledger/Ledger.h b/src/ripple/app/ledger/Ledger.h index 0d4a5646f..84e65ecff 100644 --- a/src/ripple/app/ledger/Ledger.h +++ b/src/ripple/app/ledger/Ledger.h @@ -416,7 +416,7 @@ private: /** A ledger wrapped in a CachedView. */ using CachedLedger = CachedView; -std::uint32_t constexpr FLAG_LEDGER_INTERVAL = 16; +std::uint32_t constexpr FLAG_LEDGER_INTERVAL = 256; /** Returns true if the given ledgerIndex is a flag ledgerIndex */ bool isFlagLedger(LedgerIndex seq); diff --git a/src/ripple/protocol/impl/Feature.cpp b/src/ripple/protocol/impl/Feature.cpp index b82440206..2475745db 100644 --- a/src/ripple/protocol/impl/Feature.cpp +++ b/src/ripple/protocol/impl/Feature.cpp @@ -456,7 +456,7 @@ REGISTER_FEATURE(Hooks, Supported::yes, VoteBehavior::De REGISTER_FEATURE(BalanceRewards, Supported::yes, VoteBehavior::DefaultYes); REGISTER_FEATURE(PaychanAndEscrowForTokens, Supported::yes, VoteBehavior::DefaultYes); REGISTER_FEATURE(URIToken, Supported::yes, VoteBehavior::DefaultYes); -REGISTER_FEATURE(Import, Supported::yes, VoteBehavior::DefaultYes); +REGISTER_FEATURE(Import, Supported::yes, VoteBehavior::DefaultNo); REGISTER_FEATURE(XahauGenesis, Supported::yes, VoteBehavior::DefaultNo); // The following amendments are obsolete, but must remain supported