mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-16 13:01:19 +02:00
Merge bada9636d7 into merged_master (Bitcoin PR bitcoin/bitcoin#24043)
This commit is contained in:
commit
45f83fd396
8 changed files with 223 additions and 47 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue