mirror of
https://github.com/Retropex/bitcoin.git
synced 2025-05-12 19:20:42 +02:00
Default policy: Set acceptnonstddatacarrier=0 (corepolicy resets to 1)
This commit is contained in:
parent
73fed175b7
commit
e1e3b8137f
@ -804,6 +804,7 @@ static bool AppInitServers(NodeContext& node)
|
|||||||
void InitParameterInteraction(ArgsManager& args)
|
void InitParameterInteraction(ArgsManager& args)
|
||||||
{
|
{
|
||||||
if (args.GetBoolArg("-corepolicy", DEFAULT_COREPOLICY)) {
|
if (args.GetBoolArg("-corepolicy", DEFAULT_COREPOLICY)) {
|
||||||
|
args.SoftSetArg("-acceptnonstddatacarrier", "1");
|
||||||
args.SoftSetArg("-bytespersigopstrict", "0");
|
args.SoftSetArg("-bytespersigopstrict", "0");
|
||||||
args.SoftSetArg("-permitbarepubkey", "1");
|
args.SoftSetArg("-permitbarepubkey", "1");
|
||||||
args.SoftSetArg("-permitbaremultisig", "1");
|
args.SoftSetArg("-permitbaremultisig", "1");
|
||||||
|
@ -33,7 +33,7 @@ static constexpr TRUCPolicy DEFAULT_MEMPOOL_TRUC_POLICY{TRUCPolicy::Enforce};
|
|||||||
/** Whether to fall back to legacy V1 serialization when writing mempool.dat */
|
/** Whether to fall back to legacy V1 serialization when writing mempool.dat */
|
||||||
static constexpr bool DEFAULT_PERSIST_V1_DAT{false};
|
static constexpr bool DEFAULT_PERSIST_V1_DAT{false};
|
||||||
/** Default for -acceptnonstddatacarrier */
|
/** Default for -acceptnonstddatacarrier */
|
||||||
static constexpr bool DEFAULT_ACCEPT_NON_STD_DATACARRIER{true};
|
static constexpr bool DEFAULT_ACCEPT_NON_STD_DATACARRIER{false};
|
||||||
/** Default for -acceptnonstdtxn */
|
/** Default for -acceptnonstdtxn */
|
||||||
static constexpr bool DEFAULT_ACCEPT_NON_STD_TXN{false};
|
static constexpr bool DEFAULT_ACCEPT_NON_STD_TXN{false};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user