Christopher Jeffrey
|
e2ef35b24b
|
wallet: more migrations.
|
2018-03-29 21:56:50 -07:00 |
|
Christopher Jeffrey
|
f99064750a
|
net: move netaddress.
|
2018-03-29 21:56:50 -07:00 |
|
Christopher Jeffrey
|
5ea218b373
|
bcoin: require bn.js directly.
|
2018-03-29 21:56:49 -07:00 |
|
Christopher Jeffrey
|
3c82ac0486
|
bcoin: use util.revHex again.
|
2018-03-29 21:56:49 -07:00 |
|
Christopher Jeffrey
|
f2abdf68cb
|
bcoin: move encoding constants around.
|
2018-03-29 21:56:49 -07:00 |
|
Christopher Jeffrey
|
73664efcd0
|
bcoin: classify everything else.
|
2018-03-29 21:56:49 -07:00 |
|
Christopher Jeffrey
|
405feef9ce
|
bcoin: clean up requires.
|
2018-03-29 21:56:48 -07:00 |
|
Christopher Jeffrey
|
21ab415769
|
refactor: switch to bio module.
|
2018-03-29 21:56:48 -07:00 |
|
Christopher Jeffrey
|
bf4f5e3bac
|
bcoin: bstring requires.
|
2018-03-29 21:56:48 -07:00 |
|
Christopher Jeffrey
|
daa55a05bc
|
primitives: classify primitives.
|
2018-03-29 21:56:48 -07:00 |
|
Christopher Jeffrey
|
ca08d6d97e
|
bcoin: rename bufio and bstring.
|
2018-03-29 21:56:48 -07:00 |
|
Christopher Jeffrey
|
f9eba3f5a6
|
crypto: start using hash.digest().
|
2018-03-29 21:56:47 -07:00 |
|
Christopher Jeffrey
|
8332b93721
|
utils: remove dependence on co.
|
2018-03-29 21:56:47 -07:00 |
|
Christopher Jeffrey
|
424370bc1f
|
utils: stop using asyncobject.
|
2018-03-29 21:56:47 -07:00 |
|
Christopher Jeffrey
|
cbef19047a
|
bcoin: cleanup. fix bsock calls.
|
2018-03-29 21:56:47 -07:00 |
|
Christopher Jeffrey
|
401829db5a
|
node: start using blgr and bcfg.
|
2018-03-29 21:56:47 -07:00 |
|
Christopher Jeffrey
|
fe03b42936
|
utils: start using bval.
|
2018-03-29 21:56:47 -07:00 |
|
Christopher Jeffrey
|
d4685e6e6c
|
utils: start using bstr.
|
2018-03-29 21:56:46 -07:00 |
|
Christopher Jeffrey
|
41925d495c
|
utils: start using bbuf.
|
2018-03-29 21:56:46 -07:00 |
|
Christopher Jeffrey
|
e92b1f4cec
|
utils: start using bfilter.
|
2018-03-29 21:56:46 -07:00 |
|
Christopher Jeffrey
|
3a722481f9
|
utils: use bfile over utils/fs.
|
2018-03-29 21:56:46 -07:00 |
|
Christopher Jeffrey
|
658d3db928
|
encoding: refactor. remove bip70.
|
2018-03-29 21:56:46 -07:00 |
|
Christopher Jeffrey
|
5a23ba96d0
|
wallet: get server working.
|
2018-03-29 21:56:45 -07:00 |
|
Christopher Jeffrey
|
d0ed214067
|
bcoin: remove dependence on util.js.
|
2018-03-29 21:56:45 -07:00 |
|
Christopher Jeffrey
|
636d66a5c7
|
bcoin: use bcrypto. remove crypto module.
|
2018-03-29 21:56:45 -07:00 |
|
Christopher Jeffrey
|
a6dc571c2d
|
http: use bclient.
|
2018-03-29 21:56:45 -07:00 |
|
Christopher Jeffrey
|
649f8cc171
|
http: stop using socket.io.
|
2018-03-29 21:56:44 -07:00 |
|
Christopher Jeffrey
|
f3b94ded65
|
wallet/bcoin: stop tracking network everywhere.
|
2018-03-29 21:56:44 -07:00 |
|
Christopher Jeffrey
|
40bb08aed6
|
wallet: better/less property tracking.
|
2018-03-29 21:56:44 -07:00 |
|
Christopher Jeffrey
|
fe261db706
|
wallet: track account balances.
|
2018-03-29 21:56:44 -07:00 |
|
Christopher Jeffrey
|
175f169504
|
test: add more wallet double spend tests.
|
2018-03-29 21:56:44 -07:00 |
|
Christopher Jeffrey
|
c16e85e485
|
wallet: all async methods.
|
2018-03-29 21:56:43 -07:00 |
|
Christopher Jeffrey
|
c6d7c43485
|
wallet: tests passing.
|
2018-03-29 21:56:43 -07:00 |
|
Christopher Jeffrey
|
55f5ff9493
|
wallet: use batches.
|
2018-03-29 21:56:43 -07:00 |
|
Christopher Jeffrey
|
969fd8f704
|
wallet-rewrite
|
2018-03-29 21:56:43 -07:00 |
|
Node
|
bbafb98fcc
|
test-tx: add tx tests
|
2017-11-08 18:25:00 +04:00 |
|
Buck
|
dd69f18cc3
|
fixed lint errors
|
2017-11-05 14:48:37 -08:00 |
|
Buck
|
c51cc88ef6
|
PR cleanup
|
2017-11-05 14:46:02 -08:00 |
|
Buck
|
48d41ed55d
|
tests for outpoint
|
2017-11-03 18:42:33 -07:00 |
|
Buck
|
68b3ddf482
|
fixed outpoint bug and added first test
|
2017-11-03 14:51:37 -07:00 |
|
Christopher Jeffrey (JJ)
|
af64e2dd0a
|
Merge pull request #324 from tuxcanfly/test-coin
Primitives tests: coin
|
2017-10-18 22:26:10 -07:00 |
|
Christopher Jeffrey (JJ)
|
783f57e4a9
|
Merge pull request #291 from tuxcanfly/test-address
Primitives tests - addresses
|
2017-10-18 22:25:12 -07:00 |
|
Christopher Jeffrey (JJ)
|
c1144a9955
|
Merge pull request #327 from nodar-chkuaselidze/test-input
Tests: Input
|
2017-10-18 13:21:41 -07:00 |
|
Christopher Jeffrey (JJ)
|
1a3c5e8a22
|
Merge pull request #323 from tuxcanfly/test-headers
Primitives tests - headers
|
2017-10-18 13:17:46 -07:00 |
|
Node
|
3a802cacd6
|
cli: accept bech32 addresses in getTX/getCoin
|
2017-10-16 23:49:02 +04:00 |
|
Javed Khan
|
b9f19038ba
|
tests: add coin tests
|
2017-09-28 19:46:54 +05:30 |
|
Javed Khan
|
7b73402377
|
tests: add headers tests
|
2017-09-27 19:54:45 +05:30 |
|
Node
|
104dd9344b
|
test: add input test
|
2017-09-25 23:33:05 +04:00 |
|
Node
|
05e069dc56
|
test: Add input tests
|
2017-09-20 22:33:25 +04:00 |
|
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 |
|
Javed Khan
|
4516adca3b
|
Delete unnecessary test data file
|
2017-09-04 16:12:05 +05:30 |
|
Javed Khan
|
dc9b1b6b51
|
Fix wrong test data - p2sh address
|
2017-09-04 16:08:39 +05:30 |
|
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 |
|
Javed Khan
|
5bfbab2bb7
|
p2sh test case: Use fromScript
|
2017-08-25 20:14:19 +05:30 |
|
Javed Khan
|
6a038930f5
|
tests: Add address tests
|
2017-08-25 20:14:19 +05:30 |
|
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 |
|
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 |
|
Christopher Jeffrey
|
9d9d8e2133
|
refactor: lint.
|
2017-06-28 02:32:00 -07:00 |
|
Christopher Jeffrey
|
82f67fa87f
|
test: improve bech32 test.
|
2017-06-28 02:29:34 -07:00 |
|
Christopher Jeffrey
|
be1ec1c22d
|
utils: refactor.
|
2017-06-27 09:28:37 -07:00 |
|
Christopher Jeffrey
|
d4cc22e1c5
|
refactor: crypto.
|
2017-06-27 07:27:53 -07:00 |
|
Christopher Jeffrey
|
fa3e98b274
|
crypto: rename ec to secp256k1.
|
2017-06-27 02:48:19 -07:00 |
|
Christopher Jeffrey
|
f70d6b8b45
|
refactor: lint tests, benchmarks, etc.
|
2017-06-24 14:35:10 -07:00 |
|
Christopher Jeffrey
|
2ef4d137e6
|
pkg: switch from jshint to eslint.
|
2017-06-24 04:45:46 -07:00 |
|
Christopher Jeffrey
|
84eccc29fa
|
refactor: switch to async/await. see #227.
|
2017-06-24 02:39:06 -07:00 |
|
Christopher Jeffrey
|
33ffb780b3
|
refactor: expose int64 and big numbers as modules.
|
2017-06-22 03:59:49 -07:00 |
|
Christopher Jeffrey
|
9058e7d78a
|
gcs: rename fromData.
|
2017-06-16 16:08:15 -07:00 |
|
Christopher Jeffrey
|
b994c278f2
|
utils: preliminary GCS filter support.
|
2017-06-16 14:35:50 -07:00 |
|
Christopher Jeffrey
|
015fb8b0b6
|
siphash: return objects instead of buffers.
|
2017-06-16 14:30:25 -07:00 |
|
Christopher Jeffrey (JJ)
|
dd16950fe2
|
Merge pull request #219 from jjz/master
Add tes new test file of key-address-test
|
2017-06-15 22:50:44 -07:00 |
|
Christopher Jeffrey
|
182784c8e0
|
utils: remove usage of isBrowser. some refactoring.
|
2017-06-15 22:28:06 -07:00 |
|
Christopher Jeffrey
|
a3c7a49c80
|
refactor: replace util.equal with Buffer#equals.
|
2017-06-12 03:00:08 -07:00 |
|
Christopher Jeffrey
|
28cd43045d
|
refactor: avoid using new Buffer() due to its new perf implications.
|
2017-05-30 21:11:10 -07:00 |
|
jjz
|
46edf8c591
|
1. add scripts of test single file
2. add key-address-test.js
|
2017-05-27 15:06:10 +08:00 |
|
Christopher Jeffrey
|
7089735fb0
|
hd: cleanup some methods.
|
2017-05-13 23:39:22 -07:00 |
|
Christopher Jeffrey
|
c1dbac3a4a
|
bech32: optimize bits conversion.
|
2017-05-13 15:51:51 -07:00 |
|
Christopher Jeffrey
|
a9ea4e5531
|
bech32: refactor.
|
2017-05-13 15:13:42 -07:00 |
|
Christopher Jeffrey
|
0ea341772c
|
address: make bech32 addrs more sane.
|
2017-05-13 00:21:51 -07:00 |
|
Christopher Jeffrey (JJ)
|
3fda5bedab
|
Merge pull request #198 from kleetus/compat/bool-validation
RPC method compatibility with bitcoin core.
|
2017-05-12 13:33:36 -07:00 |
|
Christopher Jeffrey
|
ed4400acb9
|
address: start using from/toString.
|
2017-04-30 07:13:36 -07:00 |
|