Subject: Re: [bitcoindev] Human meaningful witness versioning

From: "'Ava Chow' via Bitcoin Development Mailing List" <[email-masked]>
Date: Mon, 21 Jul 2025 02:24:38 +0000

On 07/20/2025 06:44 PM, Ethan Heilman wrote:
> 3. You could take the Bech32 approach a little further and save an 
> additional 8-bits by not including the OP_PUSH32 and just inferring it 
> from address length. Granted this length inference would present issues 
> if we want to do more complex things in the ScriptPubkey, but we could 
> handle these cases with Witness versions like we do with bech32 and bech32m.
> [...]
> but since that isn't the case and it 
> was just about the number of characters, why not drop the OP_PUSH?

That's what bech32 does, the push is not encoded in the address. The 
length of the witness program is inferred from the length of the address.

-- 
You received this message because you are subscribed to the Google Groups "Bitcoin Development Mailing List" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email-masked].
To view this discussion visit https://groups.google.com/d/msgid/bitcoindev/69d118b0-e970-4167-9d74-9998e881b247%40achow101.com.