user127763: 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.

user208: 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.

127763: <p>I'm aware that for non-segwit transactions, <a href="https://bitcoin.stackexchange.com/a/89387/127763"><code>vsize</code> is always the same as <code>size</code></a>. But is it possible for a valid transaction to include <code>size</code>=<code>vsize</code> when involving segwit inputs/outputs?</p>
<p>This particular query is motivated by a need to debug an 'invalid signature' error associated with a raw transaction.</p>
 208: <p>With segwit outputs, yes. Segwit outputs do not have a witness that could get discounted.</p>
<p>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.</p>
