- Change
b""
forbytes
literal tob''
-
JavaScript bindings for the compiler: scryptc @npm
-
Multiple contracts in one file
-
Support
import
dependencies -
Standard libraries
-
Report multiple compiling errors and do not abort at first error
-
Support contract
"reflection"
to obtain current tx the contract runs in -
Support
this
to access contract variable and method -
Call contract methods
-
Make constructor optional
-
Public function also returns like other functions,
returns (bool)
andreturn true
by default if not specified. -
Improve error messages significantly to help identify source of compiling error; also aggregate similar errors to reduce verbosity
-
Support
***
statement to insertOP_CODESEPARATOR
-
Support
exit()
to terminate contract execution -
Add
pack()
andunpack()
to convert betweenint
andbytes
-
Change
0x
prefix to denoteint
literal in hex andb""
forbytes
literal -
Rename
size()
tolen()
-
Add type
PrivKey
-
Overload
==
forint
andbytes
-
Support
OP_PUSHDATA2
andOP_PUSHDATA4
-
Improve scryptc CLI
- output script as json
- output AST json as well
- output to a specified directory
- output dependency ASTs
- output debug mode for more info, besides script
- input from stdin
-
Numerous bug fixes and refactorings
- minimally encode
int
- lower S in DER signature
- throw when
OP_PUSHDATA
data exceeding 4GB
- minimally encode