From 9e853323a932e46c8ad648940176501028d4078f Mon Sep 17 00:00:00 2001 From: Jared Corduan Date: Mon, 7 Dec 2020 14:54:00 -0500 Subject: [PATCH] rename CDDL timelock variable names For consistency, we are going to uniformly use "invalid_before" and "invalid_hereafter" to denote the half open validity intervals [invalid_before, invalid_hereafter). --- shelley-ma/shelley-ma-test/cddl-files/shelley-ma.cddl | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/shelley-ma/shelley-ma-test/cddl-files/shelley-ma.cddl b/shelley-ma/shelley-ma-test/cddl-files/shelley-ma.cddl index aa07b325716..27162ab80bb 100644 --- a/shelley-ma/shelley-ma-test/cddl-files/shelley-ma.cddl +++ b/shelley-ma/shelley-ma-test/cddl-files/shelley-ma.cddl @@ -230,8 +230,12 @@ native_script = // script_all // script_any // script_n_of_k - // timelock_start - // timelock_expiry + // invalid_before + ; Timelock validity intervals are half-open intervals [a, b). + ; This field specifies the left (included) endpoint a. + // invalid_hereafter + ; Timelock validity intervals are half-open intervals [a, b). + ; This field specifies the right (excluded) endpoint b. ] script_pubkey = (0, addr_keyhash)