SIGN IN SIGN UP

kernel: expose transaction witness presence

Expose CTransaction::HasWitness(), allowing clients to determine whether
a transaction contains witness data without inspecting each input.

Test the accessor with legacy and witness transactions.
K
KY-U committed
43bba1ed74f8301fe1ec8e3751cdc93d07b89e82
Parent: 31224d0