TIP-11 / All contract output should have an epoch number.
Status: Proposal
Current problem.
In the current implementation the timestamp of the output-archives is decided by the contract. This means that the transcript need to check that the timestamp is valid.
Proposed solution.
To prevent the check it is proposed to added the epoch number to each output-archives, because each epoch has a consensus time. In the existing implementation and output-archives stored in the contract and this means that the hash of the output can be know before. This is not possible anymore because the hash of the archive depends on the epoch number.
This means that the hash of the output needs requested from the network after net contract has been executed.