Merge bada9636d7 into merged_master (Bitcoin PR bitcoin/bitcoin#24043)

This commit is contained in:
Byron Hambly 2023-10-13 07:53:59 +00:00
commit 45f83fd396
8 changed files with 223 additions and 47 deletions

View file

@ -33,6 +33,9 @@ static const int MAX_OPS_PER_SCRIPT = 201;
// Maximum number of public keys per multisig
static const int MAX_PUBKEYS_PER_MULTISIG = 20;
/** The limit of keys in OP_CHECKSIGADD-based scripts. It is due to the stack limit in BIP342. */
static constexpr unsigned int MAX_PUBKEYS_PER_MULTI_A = 999;
// Maximum script length in bytes
static const int MAX_SCRIPT_SIZE = 10000;