Commit Graph

6 Commits

Author SHA1 Message Date
Zahary Karadjov e6a619b0bf move some native procs from the libsecp256k1 module to main native module 2018-07-20 20:01:43 +03:00
cheatfate ac8cb31178 Add isZeroKey() procedures. 2018-06-20 12:32:39 +03:00
mratsim 738270d478 note about finalizer future deprecation 2018-04-11 15:44:57 +02:00
mratsim 8e3dc293fd Use finalizers to avoid manual cleaning 2018-04-11 15:20:00 +02:00
cheatfate ddc80f8bff Fix message size checks. 2018-04-11 13:15:24 +03:00
Eugene Kabanov 36df1300ce Eth keys API refactor (#14)
* Fix eth_keys to follow nimble rules.
Fix eth_keys to follow NEP-1 rules.
Fix eth_keys to work properly with libsecp256k1 (do not raise uncatchable exceptions).
Added more tests from py_evm, go-ethereum, cpp-ethereum.
Added address utility functions.
Changed public api, to be compatible with more modules.

* Fix newline.

* Added proper appveyor.yml.

* Fix appveyor.yml.

* Removed safeXXX functions.

* Removed Nonce object declaration.
Removed EthKeysContext possibility of inheritation.
Added shutdownLibsecp256k1() and shutdown() procedures.
Some documentation comments got modified.

* Removed RawPublicKey and RawSignature bytes.
getRaw(PublicKey) and getRaw(Signature) are now returning arrays.
Added toRaw(PublicKey, data) and toRaw(Signature, data).

* Added `$` hexadecimal string representation functions.
Added initSignature functions.
Added some previous tests.

* Removed 0x prefixes from `$` functions.
2018-04-10 19:07:40 +02:00