Create an abstract P2TRInput class to extend WitnessInput to represent all Taproot inputs. This should provide an optional annex witness stack item and any number of additional witness stack elements before the annex. A nullable annex getter will be provided.
Since the annex is not used and is reserved for future extensions, this class is not needed and instead the annex will always be assumed to be absent. Taproot inputs can instead extend from WitnessInput.
Create an abstract
P2TRInput
class to extendWitnessInput
to represent all Taproot inputs. This should provide an optional annex witness stack item and any number of additional witness stack elements before the annex. A nullableannex
getter will be provided.