Computing "script data hash" requires redemeers, witness-set datums and language views.
To make the hash consistent across encoding roundtrips, this PR replaces some internal structs in the primitives with CBOR-aware structs (eg: MaybeIndexArray).
A following PR will introduce the hash compute logic.
Computing "script data hash" requires redemeers, witness-set datums and language views.
To make the hash consistent across encoding roundtrips, this PR replaces some internal structs in the primitives with CBOR-aware structs (eg: MaybeIndexArray).
A following PR will introduce the hash compute logic.