Commit Graph

77 Commits

Author SHA1 Message Date
Kagami Hiiragi
bf8b663c5d Do not use promises in crypto
Because sha.js is faster than WebCryptoAPI for POW.
2015-01-03 17:52:27 +03:00
Kagami Hiiragi
f6165d891b Reorganize platform-specific routines 2015-01-03 13:29:22 +03:00
Kagami Hiiragi
7048464691 Rearrange modules 2015-01-03 13:14:39 +03:00
Kagami Hiiragi
9757fd20f6 Typo fixes 2015-01-03 03:11:02 +03:00
Kagami Hiiragi
ca13fdf566 Modules stub 2015-01-03 00:45:56 +03:00
Kagami Hiiragi
4d5a699c6e Expand feature matrix, improve consistency 2015-01-03 00:24:36 +03:00
Kagami Hiiragi
1d03820f3f Drop support for int64
Since we are unable to use such values properly it the code anyway.
2015-01-02 23:28:45 +03:00
Kagami Hiiragi
a3c4ebac7d Implement var_int_list 2015-01-02 17:27:03 +03:00
Kagami Hiiragi
1b950bb872 Implement var_str 2015-01-01 23:00:33 +03:00
Kagami Hiiragi
18e38dee2b Move var_int to core structures module 2015-01-01 22:26:06 +03:00
Kagami Hiiragi
e7b72ba569 Documentation with jsdoc 2014-12-30 20:00:28 +03:00
Kagami Hiiragi
a3475d9d6a OOPify 2014-12-30 01:16:51 +03:00
Kagami Hiiragi
b2b660827c WIF encode/decode 2014-12-29 22:59:18 +03:00
Kagami Hiiragi
a47563ee8c Typo fixes 2014-12-28 00:04:23 +03:00
Kagami Hiiragi
a1f45ad3f3 Fixes 2014-12-27 18:24:02 +03:00
Kagami Hiiragi
53ae383d35 Implement Address.encode and Address.getRandom 2014-12-27 18:18:14 +03:00
Kagami Hiiragi
d934624c48 var_int encode 2014-12-27 14:38:58 +03:00
Kagami Hiiragi
1866c94de9 PRNG 2014-12-26 20:17:01 +03:00
Kagami Hiiragi
68f1217911 Reorganize crypto modules 2014-12-26 19:47:25 +03:00
Kagami Hiiragi
f366e4b0cc Use native assert 2014-12-20 13:48:12 +03:00
Kagami Hiiragi
2e9f064e7e SHA-256 crypto (for WIF) 2014-12-19 15:34:33 +03:00
Kagami Hiiragi
6e4cb56a27 Support Safari (not tested) 2014-12-18 23:54:27 +03:00
Kagami Hiiragi
c055a8d155 Check for lowest var_int length 2014-12-18 20:17:01 +03:00
Kagami Hiiragi
1ccd56f17a Implement address decoding 2014-12-18 19:47:18 +03:00
Kagami Hiiragi
a402c40d4d Add browser version of crypto and test with karma 2014-12-14 12:24:35 +03:00
Kagami Hiiragi
600dc6e4bb Add es6-promise dependency
Since it needed only for node version.
2014-12-13 22:08:00 +03:00
Kagami Hiiragi
19129b0903 Start with isomorphic sha512 wrapper 2014-12-13 21:56:14 +03:00