Christopher Jeffrey
f70d6b8b45
refactor: lint tests, benchmarks, etc.
2017-06-24 14:35:10 -07:00
Christopher Jeffrey
33ffb780b3
refactor: expose int64 and big numbers as modules.
2017-06-22 03:59:49 -07:00
Christopher Jeffrey
28cd43045d
refactor: avoid using new Buffer() due to its new perf implications.
2017-05-30 21:11:10 -07:00
Chris Kleeschulte
dd49ee0761
RPC method compatibility with bitcoin core.
...
- RPC method param semantics, unfortunately, aren't consistent in bitcoin core, therefore bcoin can't be used as a drop in replacement if bcoin "fixes the glitch".
- To avoid breaking bcoin's current api, validation of bool includes integers 0 and 1 as false and true, respectively.
- The effect of this is to allow getRawTransaction to work with older client code.
2017-04-21 13:14:33 -04:00
Christopher Jeffrey
5caf6210b9
refactor: move constants around.
2017-01-06 09:57:55 -08:00
Christopher Jeffrey
b437b33760
test/bench: lint.
2016-12-10 17:13:45 -08:00
Christopher Jeffrey
d2e61d1fa2
test: cleanup tests.
2016-12-10 14:43:58 -08:00
Christopher Jeffrey
c190dd2aad
util: refactor encoding.
2016-12-02 04:34:38 -08:00
Christopher Jeffrey
bf34a8133d
btc: rename.
2016-11-19 11:14:38 -08:00
Christopher Jeffrey
b754973511
utils/btc: rename.
2016-11-19 10:45:31 -08:00
Christopher Jeffrey
ae093d2242
amount/utils: drop utils.btc and utils.satoshi.
2016-11-19 09:59:47 -08:00
Christopher Jeffrey
0631148705
modules: more refactoring.
2016-11-19 05:29:29 -08:00
Christopher Jeffrey
605874068b
s/bn/BN/g
2016-10-21 19:38:06 -07:00
Christopher Jeffrey
c9ebe29e39
crypto: do not expose crypto module from utils.
2016-09-06 15:15:36 -07:00
Christopher Jeffrey
a0726efe75
crypto: preliminary support for schnorr signatures.
2016-09-01 02:06:08 -07:00
Christopher Jeffrey
4fa6136ec4
bip152: use regular varints for lengths.
2016-08-25 20:40:47 -07:00
Christopher Jeffrey
2ec1f33cde
implement hkdf.
2016-07-20 14:25:18 -07:00
Christopher Jeffrey
9a5f1c556d
strict mode.
2016-06-13 01:06:01 -07:00
Christopher Jeffrey
b9434afc1e
base58 tests.
2016-06-03 11:38:18 -07:00
Christopher Jeffrey
92e8a9c4bc
new varint2.
2016-05-22 06:54:36 -07:00
Christopher Jeffrey
0b6f86c9d5
refactor testTarget.
2016-05-16 03:59:42 -07:00
Christopher Jeffrey
e75e040d2b
remove comments.
2016-05-15 17:43:51 -07:00
Christopher Jeffrey
535b6a823e
utils and tests.
2016-05-15 17:41:45 -07:00
Christopher Jeffrey
4b0519a073
more tests. utils.
2016-05-15 03:33:58 -07:00
Christopher Jeffrey
dd5c9096a7
use js numbers for values.
2016-05-14 20:57:52 -07:00
Christopher Jeffrey
493f0092e4
comments. refactor how module is exposed.
2016-05-14 13:22:43 -07:00
Christopher Jeffrey
bba94d4aaa
env variables.
2016-05-01 21:19:25 -07:00
Christopher Jeffrey
afee09a935
utils refactor.
2016-04-30 16:20:40 -07:00
Christopher Jeffrey
d89bd13f09
move errors around. assert.
2016-04-29 18:17:48 -07:00
Christopher Jeffrey
0a7f118528
add environment.
2016-04-06 18:55:55 -07:00
Christopher Jeffrey
93efe376a6
refactor. isSigned.
2016-03-21 02:16:56 -07:00
Christopher Jeffrey
5fb16d29e6
refactor.
2016-03-15 13:31:54 -07:00
Christopher Jeffrey
78e9be11c3
switch to buffers.
2016-02-22 20:37:15 -08:00
Christopher Jeffrey
6da3fbac3a
add utils.hash test.
2016-01-04 16:03:04 -08:00
Christopher Jeffrey
a7ea69f48a
improve utils: primarily toBTC and fromBTC.
2015-12-21 15:20:01 -08:00
Fedor Indutny
7e72a4d79d
utils: toBTC()
2014-05-15 02:59:07 +04:00
Fedor Indutny
cd3f04268a
block: verify
2014-05-03 16:51:16 +04:00
Fedor Indutny
8a3c9d2dcd
initial
2014-04-28 17:12:26 +04:00