[doc] assert that default min relay feerate and incremental are the same
This commit is contained in:
1 parent
1fbee5d7b6
commit
d6213d6aa1
1 file changed
+1
@@ -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 (const auto arg{argsman.GetArg("-minrelaytxfee")}) {
|
if (const auto arg{argsman.GetArg("-minrelaytxfee")}) {
|
||||||
if (std::optional<CAmount> min_relay_feerate = ParseMoney(*arg)) {
|
if (std::optional<CAmount> min_relay_feerate = ParseMoney(*arg)) {
|
||||||
// High fee check is done afterward in CWallet::Create()
|
// High fee check is done afterward in CWallet::Create()
|
||||||
|
|||||||
Reference in new issue
Block a user