Default policy: Set acceptnonstddatacarrier=0 (corepolicy resets to 1)

This commit is contained in:
Luke Dashjr 2024-03-06 04:02:06 +00:00
parent 3c8fcbc7b0
commit 8c26254b58
2 changed files with 2 additions and 1 deletions

View File

@ -776,6 +776,7 @@ static bool AppInitServers(NodeContext& node)
void InitParameterInteraction(ArgsManager& args)
{
if (args.GetBoolArg("-corepolicy", DEFAULT_COREPOLICY)) {
args.SoftSetArg("-acceptnonstddatacarrier", "1");
args.SoftSetArg("-bytespersigopstrict", "0");
args.SoftSetArg("-permitbarepubkey", "1");
args.SoftSetArg("-permitbaremultisig", "1");

View File

@ -32,7 +32,7 @@ static constexpr TRUCPolicy DEFAULT_MEMPOOL_TRUC_POLICY{TRUCPolicy::Reject};
/** Whether to fall back to legacy V1 serialization when writing mempool.dat */
static constexpr bool DEFAULT_PERSIST_V1_DAT{false};
/** Default for -acceptnonstddatacarrier */
static constexpr bool DEFAULT_ACCEPT_NON_STD_DATACARRIER{true};
static constexpr bool DEFAULT_ACCEPT_NON_STD_DATACARRIER{false};
/** Default for -acceptnonstdtxn */
static constexpr bool DEFAULT_ACCEPT_NON_STD_TXN{false};