Commit Graph

529 Commits

Author SHA1 Message Date
Christopher Jeffrey
3a7484d782
test: refactor assertions. 2017-08-11 18:25:54 -07:00
Christopher Jeffrey
e03182367f
amount: allow overloading for num vs. str by default. 2017-08-11 04:36:17 -07:00
Christopher Jeffrey
e7bc53c995
test: refactor script and tx test parsing. 2017-08-11 00:07:48 -07:00
Christopher Jeffrey
aee1767dd8
test: minor refactor for block-test. 2017-08-10 11:31:31 -07:00
Christopher Jeffrey
4e2af473ab
test: add better assertion methods. 2017-08-10 11:17:10 -07:00
Christopher Jeffrey
acfeede8e2
test: minor improvements for tx tests. 2017-08-10 10:01:03 -07:00
Christopher Jeffrey
5327398037
test: pull in script/tx test vectors. 2017-08-10 09:46:10 -07:00
Christopher Jeffrey
87e3ee1971
script: do not use return values for script.execute and Script.verify. 2017-08-10 09:41:01 -07:00
Christopher Jeffrey
6f96e64f70
test: enable worker pool for all tests. 2017-08-10 07:27:08 -07:00
Christopher Jeffrey
fbd99ea1b9
util: add util.fromDouble for convenience. 2017-08-09 17:45:10 -07:00
Christopher Jeffrey
9f3a040758
mnemonic: fix an error for certain languages. 2017-08-09 17:44:06 -07:00
Christopher Jeffrey
ed4ce0f032
test: minor. 2017-08-09 17:43:21 -07:00
Christopher Jeffrey
8146fb28f0
test: use better asserts. 2017-08-09 15:38:33 -07:00
Christopher Jeffrey
853ef18ad9
lint: fix some linting errors. 2017-08-09 15:32:46 -07:00
Christopher Jeffrey
2cf45c84cf
test: refactor a number of tests. 2017-08-09 15:28:03 -07:00
Christopher Jeffrey
36523e2f56
tx: do not track flags byte. 2017-08-07 00:55:26 -07:00
Christopher Jeffrey
a290e6880d
encoding: rename read int methods to readIx. 2017-08-06 03:27:06 -07:00
Christopher Jeffrey
faabd36f9e
config/validator/utils: fix fixed parsing/serialization. 2017-08-05 18:52:24 -07:00
Christopher Jeffrey
1b8115d03f
test: fixes for compact block tests. 2017-08-02 15:21:15 -07:00
Christopher Jeffrey
a085214d54
test: refactor several tests. clean up test data. 2017-08-02 00:19:08 -07:00
Christopher Jeffrey
860e51e390
test: refactor and clean up a few tests. 2017-08-01 15:17:17 -07:00
Christopher Jeffrey
e38da91065
lint: no extra parens around !await. 2017-07-31 18:21:03 -07:00
Christopher Jeffrey
6ba8eb9951
eslint: more style rules. 2017-07-31 18:21:03 -07:00
Christopher Jeffrey
5e73e51177
lint: fix function names. 2017-07-31 18:21:03 -07:00
Christopher Jeffrey
55cf07a871
refactor: style for const/let and returns. 2017-07-31 18:21:02 -07:00
Christopher Jeffrey
6f3988e861
refactor: use const as much as possible. 2017-07-31 18:21:02 -07:00
Christopher Jeffrey
9cc5c393b4
eslint: use prefer-const. 2017-07-31 18:21:02 -07:00
Christopher Jeffrey
d57dac13e0
coins: refactor method names. add isUnspent. 2017-07-31 18:20:48 -07:00
Christopher Jeffrey
0805babec1
coins: get rid of return value polymorphism. 2017-07-31 18:20:48 -07:00
Christopher Jeffrey
5602001348
coinview: fixes. 2017-07-31 18:20:48 -07:00
Christopher Jeffrey
492c05c378
coinview: refactor api. 2017-07-31 18:20:48 -07:00
Christopher Jeffrey
5a116923c5
test: block-test. 2017-07-31 18:20:48 -07:00
Christopher Jeffrey
deede064df
minor: lint. 2017-07-31 18:20:48 -07:00
Christopher Jeffrey
536497a204
test: update undocoins. 2017-07-31 18:20:47 -07:00
Christopher Jeffrey
345f0c90ac
coins: refactor. 2017-07-31 18:20:47 -07:00
Christopher Jeffrey
a1af3ab980
chaindb: switch to pertxout. 2017-07-31 18:20:47 -07:00
Christopher Jeffrey
9c87804b08
test: refactor walletdb usage. 2017-07-25 15:56:02 -07:00
Christopher Jeffrey
87d664784c
refactor: s/ts/time. s/ps/mtime. 2017-07-25 14:23:10 -07:00
Christopher Jeffrey
6f1f81dcbe
refactor: lint. 2017-07-25 11:21:43 -07:00
Christopher Jeffrey
7eefb773be
refactor: use maps and sets wherever possible. 2017-07-25 05:15:47 -07:00
Christopher Jeffrey
9219e23d8c
hd/wallet: add bip48 arg to prepare for bip48 support. see #238. 2017-07-23 07:22:53 -07:00
Christopher Jeffrey
37da047a34
digest: avoid extra allocations. 2017-07-17 14:26:43 -07:00
Christopher Jeffrey
2f51fd1c50
api: use satoshi values for everything. 2017-07-17 14:26:43 -07:00
Christopher Jeffrey
15ba37099e
test: enable workers for node. 2017-07-17 14:26:41 -07:00
Christopher Jeffrey
3f3516ca18
coinview: remove old serialization methods. 2017-07-17 14:26:39 -07:00
Christopher Jeffrey
296e65d0fd
refactor: use es6 template strings everywhere. 2017-07-17 14:26:39 -07:00
Christopher Jeffrey
10672784e5
refactor: rename tx functions. more es6 features. 2017-07-17 14:26:38 -07:00
Christopher Jeffrey
c53f4cf89e
refactor: switch to const/let. 2017-07-17 14:26:37 -07:00
Christopher Jeffrey
78d62c73b8
refactor: start using multiple return values. 2017-07-17 14:26:37 -07:00
Christopher Jeffrey
aa05bb5df7
refactor: use es6 maps for everything. 2017-07-17 14:26:37 -07:00