mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-15 16:38:23 +01:00
[doc] assert that default min relay feerate and incremental are the same
This commit is contained in:
@@ -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