mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-01-19 06:43:45 +01:00
doc: unify datacarriersize warning with release notes
Unified the deprecation warning for the recently deprecated datacarrier[size] options to match the phrasing of release-notes-32406.md.
This commit is contained in:
@@ -904,7 +904,7 @@ bool AppInitParameterInteraction(const ArgsManager& args)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (args.IsArgSet("-datacarriersize") || args.IsArgSet("-datacarrier")) {
|
if (args.IsArgSet("-datacarriersize") || args.IsArgSet("-datacarrier")) {
|
||||||
InitWarning(_("Options '-datacarrier' or '-datacarriersize' are set but are marked as deprecated. They will be removed in a future version."));
|
InitWarning(_("Options '-datacarrier' or '-datacarriersize' are set but are marked as deprecated and are expected to be removed in a future version."));
|
||||||
}
|
}
|
||||||
|
|
||||||
// We no longer limit the orphanage based on number of transactions but keep the option to warn users who still have it in their config.
|
// We no longer limit the orphanage based on number of transactions but keep the option to warn users who still have it in their config.
|
||||||
|
|||||||
@@ -103,9 +103,9 @@ class DataCarrierTest(BitcoinTestFramework):
|
|||||||
# Clean shutdown boilerplate due to deprecation
|
# Clean shutdown boilerplate due to deprecation
|
||||||
self.expected_stderr = [
|
self.expected_stderr = [
|
||||||
"", # node 0 has no deprecated options
|
"", # node 0 has no deprecated options
|
||||||
"Warning: Options '-datacarrier' or '-datacarriersize' are set but are marked as deprecated. They will be removed in a future version.",
|
"Warning: Options '-datacarrier' or '-datacarriersize' are set but are marked as deprecated and are expected to be removed in a future version.",
|
||||||
"Warning: Options '-datacarrier' or '-datacarriersize' are set but are marked as deprecated. They will be removed in a future version.",
|
"Warning: Options '-datacarrier' or '-datacarriersize' are set but are marked as deprecated and are expected to be removed in a future version.",
|
||||||
"Warning: Options '-datacarrier' or '-datacarriersize' are set but are marked as deprecated. They will be removed in a future version.",
|
"Warning: Options '-datacarrier' or '-datacarriersize' are set but are marked as deprecated and are expected to be removed in a future version.",
|
||||||
]
|
]
|
||||||
|
|
||||||
for i in range(self.num_nodes):
|
for i in range(self.num_nodes):
|
||||||
|
|||||||
Reference in New Issue
Block a user