Skip to content

Commit 1b4c127

Browse files
committed
Merge #346: Rectify from_multi_a max satisfaction size
747876e Rectify `from_multi_a` max satisfaction size (Aman Rojjha) Pull request description: Cost incurred for a single Schnorr signature in the witness stack := `<var_int><64-byte signature><sig_type>` = 1 + 64 + 1 (as clarified by @sanket1729 in #340 ). ACKs for top commit: sanket1729: ACK 747876e Tree-SHA512: f20652240f1daa7b33b1d525870114e0bd6412e82845e80a94c616dedcfb3d8ae2f7ef19d7c08760f79270e0d465c18b713eff2e3e599b45c65f2a64da36713b
2 parents 1a2a49a + 747876e commit 1b4c127

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/miniscript/types/extra_props.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ impl Property for ExtData {
249249
ops_count_nsat: Some(n + 1),
250250
stack_elem_count_sat: Some(n),
251251
stack_elem_count_dissat: Some(n),
252-
max_sat_size: Some(((n - k) + 64 * k, (n - k) + 64 * k)),
252+
max_sat_size: Some(((n - k) + 66 * k, (n - k) + 66 * k)),
253253
max_dissat_size: Some((n, n)),
254254
timelock_info: TimeLockInfo::default(),
255255
exec_stack_elem_count_sat: Some(2), // the two nums before num equal verify

0 commit comments

Comments
 (0)