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
4e2af473ab
test: add better assertion methods.
2017-08-10 11:17:10 -07:00
Christopher Jeffrey
6f96e64f70
test: enable worker pool for all tests.
2017-08-10 07:27:08 -07:00
Christopher Jeffrey
8146fb28f0
test: use better asserts.
2017-08-09 15:38:33 -07:00
Christopher Jeffrey
2cf45c84cf
test: refactor a number of tests.
2017-08-09 15:28:03 -07:00
Christopher Jeffrey
a085214d54
test: refactor several tests. clean up test data.
2017-08-02 00:19:08 -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
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
9c87804b08
test: refactor walletdb usage.
2017-07-25 15:56:02 -07:00
Christopher Jeffrey
2f51fd1c50
api: use satoshi values for everything.
2017-07-17 14:26:43 -07:00
Christopher Jeffrey
c53f4cf89e
refactor: switch to const/let.
2017-07-17 14:26:37 -07:00
Christopher Jeffrey
f70d6b8b45
refactor: lint tests, benchmarks, etc.
2017-06-24 14:35:10 -07:00
Christopher Jeffrey
84eccc29fa
refactor: switch to async/await. see #227 .
2017-06-24 02:39:06 -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
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
c0e4c169ba
http: more tests.
2017-03-15 20:38:04 -07:00
Christopher Jeffrey
1a3dcbd277
test: add some more rpc tests.
2017-03-15 07:21:14 -07:00
Christopher Jeffrey
42da82e007
wallet: fix tests and add compat routes.
2017-03-14 06:28:55 -07:00
Christopher Jeffrey
5cbbdbfb2f
refactor: config, plugins, and walletdb.
2017-03-14 06:10:34 -07:00
Christopher Jeffrey
89ff0796c7
refactor: do not require json files.
2017-03-01 08:48:53 -08:00
Christopher Jeffrey
47c43ea39a
rpcclient: refactor error handling.
2017-02-28 09:20:22 -08:00
Christopher Jeffrey
a486bd3a18
refactor: options.
2017-01-14 17:59:54 -08:00
Christopher Jeffrey
34dd6c3b79
http: url fixes.
2017-01-12 13:04:10 -08:00
Christopher Jeffrey
fed7d0de54
http: remove use of callbacks.
2017-01-12 02:57:24 -08:00
Christopher Jeffrey
9e4ea75198
test: cleanup.
2017-01-09 14:25:45 -08:00
Christopher Jeffrey
95c205b309
mtx: less overloading.
2017-01-08 02:44:55 -08:00
Christopher Jeffrey
5caf6210b9
refactor: move constants around.
2017-01-06 09:57:55 -08:00
Christopher Jeffrey
2beb9c06a5
test: fix http.
2016-12-16 18:11:49 -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
12b3274d33
refactor: pass coin viewpoints for every function requiring inputs.
2016-12-09 07:15:35 -08:00
Christopher Jeffrey
ded3bc34f3
refactor: start moving away from getters.
2016-11-30 21:31:52 -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
aa79d92a83
http: more wallet api calls.
2016-11-09 18:25:33 -08:00
Christopher Jeffrey
9049053a1e
http: send details after send.
2016-10-21 19:38:10 -07:00
Christopher Jeffrey
605874068b
s/bn/BN/g
2016-10-21 19:38:06 -07:00
Christopher Jeffrey
0f74292082
refactor: style.
2016-10-03 07:58:12 -07:00
Christopher Jeffrey
1a8657d131
spawn: rename to co.
2016-10-02 23:24:11 -07:00
Christopher Jeffrey
f0223146af
deps: massive refactor.
2016-10-02 23:24:11 -07:00
Christopher Jeffrey
f96ee525f5
http: refactor deps and tests.
2016-10-02 23:24:11 -07:00
Christopher Jeffrey
376d6303b7
env: refactor how default instances work.
2016-10-02 23:24:10 -07:00
Christopher Jeffrey
ae83aa6fba
refactor: more work.
2016-09-22 00:24:59 -07:00
Christopher Jeffrey
d78151d3d3
refactor: promises.
2016-09-20 15:28:14 -07:00
Christopher Jeffrey
c9ebe29e39
crypto: do not expose crypto module from utils.
2016-09-06 15:15:36 -07:00
Christopher Jeffrey
a02564e0a1
test: fix http tests.
2016-09-06 00:56:25 -07:00