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
3e1b343fef
commit
57fadfa036
@ -809,7 +809,7 @@ void InitParameterInteraction(ArgsManager& args)
|
|||||||
args.SoftSetArg("-datacarriercost", "0.25");
|
args.SoftSetArg("-datacarriercost", "0.25");
|
||||||
args.SoftSetArg("-datacarrierfullcount", "0");
|
args.SoftSetArg("-datacarrierfullcount", "0");
|
||||||
args.SoftSetArg("-datacarriersize", "83");
|
args.SoftSetArg("-datacarriersize", "83");
|
||||||
|
args.SoftSetArg("-maxscriptsize", strprintf("%s", std::numeric_limits<unsigned int>::max()));
|
||||||
args.SoftSetArg("-spkreuse", "allow");
|
args.SoftSetArg("-spkreuse", "allow");
|
||||||
args.SoftSetArg("-blockprioritysize", "0");
|
args.SoftSetArg("-blockprioritysize", "0");
|
||||||
args.SoftSetArg("-blockmaxsize", "4000000");
|
args.SoftSetArg("-blockmaxsize", "4000000");
|
||||||
|
@ -45,7 +45,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 **/
|
/** Default for -incrementalrelayfee, which sets the minimum feerate increase for mempool limiting or replacement **/
|
||||||
static constexpr unsigned int DEFAULT_INCREMENTAL_RELAY_FEE{1000};
|
static constexpr unsigned int DEFAULT_INCREMENTAL_RELAY_FEE{1000};
|
||||||
/** Default for -maxscriptsize */
|
/** 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 */
|
/** Default for -bytespersigop */
|
||||||
static constexpr unsigned int DEFAULT_BYTES_PER_SIGOP{20};
|
static constexpr unsigned int DEFAULT_BYTES_PER_SIGOP{20};
|
||||||
/** Default for -bytespersigopstrict */
|
/** Default for -bytespersigopstrict */
|
||||||
|
Loading…
Reference in New Issue
Block a user