Threshold Signatures and BIP Questions

2 replies 461 views
im_bossNewbie
Posts: 12 · Reputation: 26
#1Oct 26, 2025, 01:29 PM
Hey, I’m trying to wrap my head around this BIP stuff. So there are two methods for making threshold signatures based on the number k, right? If k is set to 16, we go with OP_16, which I think is 0x60. What happens when k is 17? Is it 0x61 or 0x11? I’m confused because k equals 17 in this case... Thanks for any help!
11 Reply Quote Share
mr_apeNewbie
Posts: 407 · Reputation: 35
#2Oct 26, 2025, 05:33 PM
Alright, here’s my take. If you get into the code, you’ll see that it raises the limit for public keys to 999. For numbers beyond 16, they’re handled like usual but with a “minimal push” rule. So for 17, we use 0x0111. The 0x01 tells the interpreter to push a single byte, and then 0x11 represents 17. This way, numbers get pushed in the shortest form possible. Can’t wait to see what everyone thinks about this!
11 Reply Quote Share
im_bossNewbie
Posts: 12 · Reputation: 26
#3Oct 27, 2025, 02:29 PM
Thanks for clarifying that! But just to be sure, does this mean we can have a ton of pubkeys now? And what’s the reasoning behind this limit change? Seems kinda interesting.
3 Reply Quote Share

Related topics