Commit Graph

553 Commits

Author SHA1 Message Date
Christopher Jeffrey
5107cfd27a
consensus: clean up some functions. 2017-09-06 22:38:23 -07:00
Christopher Jeffrey
5f82c0d8c2
chain: alias all db methods. remove chainentry spaghetti code. 2017-09-06 10:20:40 -07:00
Christopher Jeffrey
4046202b3f
lint: minor. 2017-09-04 16:46:47 -07:00
Christopher Jeffrey
bc25bdb016
workers: drop all static methods for packets. 2017-09-02 21:09:22 -07:00
Christopher Jeffrey
d871751bba
test: use utils for gcs test. 2017-09-01 20:56:42 -07:00
Christopher Jeffrey
3c2c8ea955
hd: pass purpose number to bip44 derivation. drop bip45 support. 2017-08-26 02:41:27 -07:00
Christopher Jeffrey
87b8ba4ec4
test: minor. 2017-08-25 16:22:52 -07:00
Christopher Jeffrey
b0a75baa5a
test: minor. 2017-08-25 15:06:12 -07:00
Christopher Jeffrey
d6ce66bce9
script: refactor script and stack mutation.
This allows more reasonable signing behavior and eliminates all polymorphism.
2017-08-24 17:34:20 -07:00
Christopher Jeffrey
a6b2c23a41
script: start using scriptnum implementation. 2017-08-20 15:13:17 -07:00
Christopher Jeffrey
5415147d4e
encoding: encoding improvements for base128 varints. 2017-08-17 10:55:30 -07:00
Christopher Jeffrey
668202b2f9
encoding: start using int64 objects instead of BNs. 2017-08-17 09:56:57 -07:00
Christopher Jeffrey
453bc82a8d
test: remove forEach loop in tx-test. 2017-08-14 17:51:16 -07:00
Christopher Jeffrey
e8c375b372
test: remove useless .fill() calls. 2017-08-13 14:25:02 -07:00
Christopher Jeffrey
b013b2f0f9
util: add toFloat function. 2017-08-13 13:15:56 -07:00
Christopher Jeffrey
46af7f5760
test: move consensus tests out of utils tests. 2017-08-13 13:01:43 -07:00
Christopher Jeffrey
e1e71a6e81
test: minor. 2017-08-13 08:05:37 -07:00
Christopher Jeffrey
b3f02eb70a
test: run sigops tests without cache. 2017-08-13 08:03:34 -07:00
Christopher Jeffrey
d33443186c
minor: lint. 2017-08-13 07:52:17 -07:00
Christopher Jeffrey
2e8d8f59c6
test: change file naming convention. 2017-08-12 20:29:27 -07:00
Christopher Jeffrey
0e7d5d7ab9
test: more sigops counting test vectors. 2017-08-12 20:02:44 -07:00
Christopher Jeffrey
e37d299049
test: create better interface for block/tx test vectors. 2017-08-12 19:38:58 -07:00
Christopher Jeffrey
5a751d9ba7
test: add some new functions to test/util/common. 2017-08-12 18:12:45 -07:00
Christopher Jeffrey
c522c79c58
test: more refactoring of various tests and assert module. 2017-08-12 12:51:52 -07:00
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