Skip to content

Commit

Permalink
rename CDDL timelock variable names
Browse files Browse the repository at this point in the history
For consistency, we are going to uniformly use "invalid_before" and
"invalid_hereafter" to denote the half open validity intervals
[invalid_before, invalid_hereafter).
  • Loading branch information
Jared Corduan committed Dec 7, 2020
1 parent 581767d commit 9e85332
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions shelley-ma/shelley-ma-test/cddl-files/shelley-ma.cddl
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 9e85332

Please sign in to comment.