mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-08-24 18:21:33 +02:00
[doc] assert that default min relay feerate and incremental are the same
Github-Pull: #33106
Rebased-From: d6213d6aa1
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 (argsman.IsArgSet("-minrelaytxfee")) {
|
if (argsman.IsArgSet("-minrelaytxfee")) {
|
||||||
if (std::optional<CAmount> min_relay_feerate = ParseMoney(argsman.GetArg("-minrelaytxfee", ""))) {
|
if (std::optional<CAmount> min_relay_feerate = ParseMoney(argsman.GetArg("-minrelaytxfee", ""))) {
|
||||||
// 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