We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5d54ee3 commit 96d8662Copy full SHA for 96d8662
src/miniscript/limits.rs
@@ -34,4 +34,5 @@ pub const MAX_BLOCK_WEIGHT: usize = 4000000;
34
// https://github.com/bitcoin/bitcoin/blob/6acda4b00b3fc1bfac02f5de590e1a5386cbc779/src/script/script.h#L30
35
pub const MAX_PUBKEYS_PER_MULTISIG: usize = 20;
36
/// Maximum pubkeys in a CHECKSIGADD construction.
37
-pub const MAX_PUBKEYS_IN_CHECKSIGADD: usize = (bitcoin::Weight::MAX_BLOCK.to_wu() / 32) as usize;
+// https://github.com/bitcoin/bitcoin/blob/99b06b7f1d4194fb8036b90e5308101645f968e7/src/script/script.h#L36
38
+pub const MAX_PUBKEYS_IN_CHECKSIGADD: usize = 999;
0 commit comments