[doc] assert that default min relay feerate and incremental are the same

Github-Pull: #33106
Rebased-From: d6213d6aa1
This commit is contained in:
glozow
2025-08-11 16:50:58 -04:00
parent 567c3ee3cb
commit 3a7e093f94

View File

@@ -65,6 +65,7 @@ util::Result<void> ApplyArgsManOptions(const ArgsManager& argsman, const CChainP
}
}
static_assert(DEFAULT_MIN_RELAY_TX_FEE == DEFAULT_INCREMENTAL_RELAY_FEE);
if (argsman.IsArgSet("-minrelaytxfee")) {
if (std::optional<CAmount> min_relay_feerate = ParseMoney(argsman.GetArg("-minrelaytxfee", ""))) {
// High fee check is done afterward in CWallet::Create()