Skip to main content
6 events
when toggle format what by license comment
Nov 25, 2022 at 19:13 vote accept RooSoft
Nov 25, 2022 at 19:06 answer added Pieter Wuille timeline score: 5
Nov 25, 2022 at 19:02 comment added RooSoft Ohhh I see, the witness section starts by 0, 0, 2... Thanks again @PieterWuille
Nov 25, 2022 at 18:47 comment added Pieter Wuille The way to determine whether an input has a witness is simply by seeing if it had witness data. I realize that's tautological, but there is nothing else to it: the BIP144 transaction serialization simply encodes the witness data for every input.
Nov 25, 2022 at 18:40 comment added Pieter Wuille Native segwit inputs have an empty scriptSig; P2SH-wrapped segwit inputs have a P2SH redeemScript in the scriptSig.
Nov 25, 2022 at 18:23 history asked RooSoft CC BY-SA 4.0