mirror of
https://github.com/Retropex/bitcoin.git
synced 2025-06-04 00:12:33 +02:00
Default policy: Set acceptnonstddatacarrier=0 (corepolicy resets to 1)
This commit is contained in:
parent
3c8fcbc7b0
commit
8c26254b58
@ -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");
|
||||
|
@ -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};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user