-
Notifications
You must be signed in to change notification settings - Fork 720
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update simple script documentation with Allegra time locking scripts #2165
Conversation
6148250
to
2f4f219
Compare
26f5462
to
c6b5742
Compare
8368b7a
to
7a9a06a
Compare
bors r+ |
👎 Rejected by too few approved reviews |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good
bors r+ |
Canceled. |
bors r+ |
bors r+ |
Already running a review |
bors r |
Build failed: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! The edits look good. Just two below that need revising.
doc/reference/simple-scripts.md
Outdated
address. The authorisation condition to use the address is that one holds the | ||
secret (signing) part of the cryptographic key (for that address) and thus be | ||
able to make a cryptographic signature for that key. | ||
|
||
The script-based addresses use a script per address. The authorisation | ||
condition to use the address is that the _evaluation_ of the script for the | ||
address results in success. The script expresses the authorisation conditions | ||
and evaluation of the script tests if those conditions are met. For example, a | ||
and evaluation of script tests if those conditions are met. For example, a |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the definite article was needed here
doc/reference/simple-scripts.md
Outdated
In the Allegra and later eras the simple multisig script language above is | ||
extended with two additional terms for expressing conditions on the time. | ||
In the Allegra and later eras, the simple multisig script language above is | ||
extended with two additional terms for expressing any time conditions. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's not any condition on time, only certain conditions can be expresses. For example I cannot express that it is a Tuesday.
Document the Allegra time locking features. Wewrite the introductory explanation of scripts in general. Generalise from talking only about multi-sig to talking about the simple script language more generally, including the Allegra extensions. Co-authored-by: Jordan Millar <jordan.millar@iohk.io> Co-authored-by: olgahryniuk <67585499+olgahryniuk@users.noreply.github.com>
55bda58
to
31eb810
Compare
bors merge |
Build succeeded: |
No description provided.