Skip to content

Commit

Permalink
add CHANGELOG
Browse files Browse the repository at this point in the history
  • Loading branch information
xhliu committed Feb 14, 2020
1 parent 3708a94 commit a8de09c
Showing 1 changed file with 51 additions and 0 deletions.
51 changes: 51 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
## sCrypt 0.1.0
* JavaScript bindings for the compiler: [scryptc @npm](https://www.npmjs.com/package/scryptc)

* Multiple contracts in one file

* Support `import` dependencies

* Standard libraries

* Report multiple compiling errors and do not abort at first error

* Supprt contract `reflection` to obtain current tx that the contract is in

* Support `this` to access contract variable and method

* Call contract methods

* Make constructor optional

* Public function also returns like other functions, `returns (bool)` and `return true` by default if not specified.

* Improve error messages significantly to help identify source of compiling error; also aggregate similar errors to reduce verbosity

* Supprt `***` statement to insert `OP_CODESEPARATOR`

* Support `exit()` to terminate contract execution

* Add `pack()` and `unpack()` to convert between `int` and `bytes`

* Change `0x` prefix to denote `int` literal in hex and `b""` for `bytes` literal

* Rename `size()` to `length()`

* Add type `PrivKey`

* Overload `==` for `int` and `bytes`

* Support `OP_PUSHDATA2` and `OP_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 refactors
- minimally encode `int`
- lower S in DER signature
- throw when `OP_PUSHDATA` data exceeding 4GB

0 comments on commit a8de09c

Please sign in to comment.