Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
During tx construction we want to annotate the scripts into their use sites, however the final representation of txs puts the scripts separately. Unfortunately we cannot reverse this transformation so we end up with this asymmetry between building and viewing a transaction. This data type helps us deal with this asymmetry, at tx build type it lets us annotate with another type, but provides nothing when viewing. The build vs view mode is determined by another type param.
- Loading branch information