Skip to content

Commit 97d48ec

Browse files
ajtownsivanlele
authored andcommitted
datacarrier: Undeprecate configuration option
Reverts commit 0b4048c
1 parent 6ed8348 commit 97d48ec

1 file changed

Lines changed: 2 additions & 6 deletions

File tree

src/init.cpp

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -566,9 +566,9 @@ void SetupServerArgs(ArgsManager& argsman)
566566
argsman.AddArg("-incrementalrelayfee=<amt>", strprintf("Fee rate (in %s/kvB) used to define cost of relay, used for mempool limiting and BIP 125 replacement. (default: %s)", CURRENCY_UNIT, FormatMoney(DEFAULT_INCREMENTAL_RELAY_FEE)), ArgsManager::ALLOW_ANY | ArgsManager::DEBUG_ONLY, OptionsCategory::NODE_RELAY);
567567
argsman.AddArg("-dustrelayfee=<amt>", strprintf("Fee rate (in %s/kvB) used to define dust, the value of an output such that it will cost more than its value in fees at this fee rate to spend it. (default: %s)", CURRENCY_UNIT, FormatMoney(DUST_RELAY_TX_FEE)), ArgsManager::ALLOW_ANY | ArgsManager::DEBUG_ONLY, OptionsCategory::NODE_RELAY);
568568
argsman.AddArg("-bytespersigop", strprintf("Equivalent bytes per sigop in transactions for relay and mining (default: %u)", DEFAULT_BYTES_PER_SIGOP), ArgsManager::ALLOW_ANY, OptionsCategory::NODE_RELAY);
569-
argsman.AddArg("-datacarrier", strprintf("(DEPRECATED) Relay and mine data carrier transactions (default: %u)", DEFAULT_ACCEPT_DATACARRIER), ArgsManager::ALLOW_ANY, OptionsCategory::NODE_RELAY);
569+
argsman.AddArg("-datacarrier", strprintf("Relay and mine data carrier transactions (default: %u)", DEFAULT_ACCEPT_DATACARRIER), ArgsManager::ALLOW_ANY, OptionsCategory::NODE_RELAY);
570570
argsman.AddArg("-datacarriersize",
571-
strprintf("(DEPRECATED) Relay and mine transactions whose data-carrying raw scriptPubKeys in aggregate "
571+
strprintf("Relay and mine transactions whose data-carrying raw scriptPubKeys in aggregate "
572572
"are of this size or less, allowing multiple outputs (default: %u)",
573573
MAX_OP_RETURN_RELAY),
574574
ArgsManager::ALLOW_ANY, OptionsCategory::NODE_RELAY);
@@ -864,10 +864,6 @@ bool AppInitParameterInteraction(const ArgsManager& args)
864864

865865
// also see: InitParameterInteraction()
866866

867-
if (args.IsArgSet("-datacarriersize") || args.IsArgSet("-datacarrier")) {
868-
InitWarning(_("Options '-datacarrier' or '-datacarriersize' are set but are marked as deprecated. They will be removed in a future version."));
869-
}
870-
871867
// Error if network-specific options (-addnode, -connect, etc) are
872868
// specified in default section of config file, but not overridden
873869
// on the command line or in this network's section of the config file.

0 commit comments

Comments
 (0)