mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-15 12:51:00 +02:00
Add (sorted)multi_a descriptor and script derivation
This commit is contained in:
parent
25e95f9ff8
commit
79728c4a3d
4 changed files with 84 additions and 5 deletions
|
|
@ -29,6 +29,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