Hello,
After reading the Time on Daml ledgers documentation, I have some doubts regarding the reliability of the output from the getTime
function due to the algorithm used to assign ledger time.
I need to retrieve the current date daily to verify whether a payment should be processed. If I use the getTime
function in a choice called by an untrusted participant, how reliable would the result be? For instance, if the participant attempts to manipulate the time by setting their local clock to one day ahead of the actual date, would the system detect this discrepancy?
Thank you.