mirror of
https://github.com/Retropex/bitcoin.git
synced 2025-05-12 19:20:42 +02:00
Set maxscriptsize policy option default to 1650 (like MAX_STANDARD_SCRIPTSIG_SIZE)
This commit is contained in:
parent
deffdb4461
commit
e40ba918fd
@ -720,7 +720,7 @@ void InitParameterInteraction(ArgsManager& args)
|
||||
args.SoftSetArg("-datacarriercost", "0.25");
|
||||
args.SoftSetArg("-datacarrierfullcount", "0");
|
||||
args.SoftSetArg("-datacarriersize", "83");
|
||||
|
||||
args.SoftSetArg("-maxscriptsize", strprintf("%s", std::numeric_limits<unsigned int>::max()));
|
||||
args.SoftSetArg("-mempoolreplacement", args.GetBoolArg("-mempoolfullrbf", false) ? "fee,-optin" : "fee,optin");
|
||||
args.SoftSetArg("-spkreuse", "allow");
|
||||
args.SoftSetArg("-blockprioritysize", "0");
|
||||
|
@ -42,7 +42,7 @@ static constexpr unsigned int MAX_STANDARD_TX_SIGOPS_COST{MAX_BLOCK_SIGOPS_COST/
|
||||
/** Default for -incrementalrelayfee, which sets the minimum feerate increase for mempool limiting or replacement **/
|
||||
static constexpr unsigned int DEFAULT_INCREMENTAL_RELAY_FEE{1000};
|
||||
/** Default for -maxscriptsize */
|
||||
static constexpr unsigned int DEFAULT_SCRIPT_SIZE_POLICY_LIMIT{std::numeric_limits<unsigned int>::max()};
|
||||
static constexpr unsigned int DEFAULT_SCRIPT_SIZE_POLICY_LIMIT{1650};
|
||||
/** Default for -bytespersigop */
|
||||
static constexpr unsigned int DEFAULT_BYTES_PER_SIGOP{20};
|
||||
/** Default for -bytespersigopstrict */
|
||||
|
Loading…
Reference in New Issue
Block a user