0

I'm aware that for non-segwit transactions, vsize is always the same as size. But is it possible for a valid transaction to include size=vsize when involving segwit inputs/outputs?

This particular query is motivated by a need to debug an 'invalid signature' error associated with a raw transaction.

2

With segwit outputs, yes. Segwit outputs do not have a witness that could get discounted.

With segwit inputs, in theory possibly, but in practice no. Every standard segwit input today has a non-empty witness, and thus will get a discount.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.