Commit Graph

327 Commits

Author SHA1 Message Date
Christopher Jeffrey
296e65d0fd
refactor: use es6 template strings everywhere. 2017-07-17 14:26:39 -07:00
Christopher Jeffrey
3af014119a
refactor: switch to template strings for errors. 2017-07-17 14:26:38 -07:00
Christopher Jeffrey
10672784e5
refactor: rename tx functions. more es6 features. 2017-07-17 14:26:38 -07:00
Christopher Jeffrey
c651136d83
refactor: refactor clients. 2017-07-17 14:26:38 -07:00
Christopher Jeffrey
fdb668aea3
refactor: use rest args where possible. 2017-07-17 14:26:38 -07:00
Christopher Jeffrey
8c7279518f
refactor: de-globalize workerpool. 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
e00472891d
refactor: start using for...of. 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
307e7dd698
webpack: get bcoin building in webpack for node. 2017-06-28 18:04:20 -07:00
Christopher Jeffrey
275580f4ac
refactor: fix linting for empty modules. 2017-06-28 13:04:04 -07:00
Christopher Jeffrey
24cd81a1bd
webpack: use -browser convention instead of aliases. 2017-06-28 12:45:38 -07:00
Christopher Jeffrey
62e7f97359
refactor: module index. 2017-06-27 09:28:18 -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
8358fa59c6
util: drop all homemade polyfills. 2017-06-27 00:36:13 -07:00
Christopher Jeffrey
65aefbd99c
httpbase: minor. 2017-06-26 21:39:59 -07:00
Christopher Jeffrey
8b74d95280
http: fix broadcast call. 2017-06-26 21:29:24 -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
5bde338a53
rpc: fix verifytxoutproof. 2017-06-16 10:27:17 -07:00
Christopher Jeffrey
28cd43045d
refactor: avoid using new Buffer() due to its new perf implications. 2017-05-30 21:11:10 -07:00
Christopher Jeffrey
76c20eddf1
rpc: do not use Address.getHash. 2017-05-21 21:42:35 -07:00
Christopher Jeffrey
0b13452df1
net: implement peer ids. 2017-05-15 03:53:30 -07:00
Christopher Jeffrey
d9c7d7e874
rpc: fix pruneblockchain. 2017-05-15 03:23:33 -07:00
Christopher Jeffrey
612f6a987c
rpc: better errors. 2017-05-15 03:22:09 -07:00
Christopher Jeffrey
11a90dd7da
http: minor. 2017-05-15 01:13:38 -07:00
Christopher Jeffrey
df4c8cc68c
http: fix block by height. 2017-05-14 15:30:14 -07:00
Christopher Jeffrey
f0bc6d5925
rpc: implement pruneblockchain. 2017-05-14 15:24:32 -07:00
Christopher Jeffrey
c1e684dc12
rpc: throw on no addresses for miner. 2017-05-13 04:22:00 -07:00
Christopher Jeffrey
b5375f576d
rpc: minor. 2017-05-13 04:10:05 -07:00
Christopher Jeffrey
c78707ed6a
rpc: update getaddednodeinfo args. 2017-05-13 03:57:59 -07:00
Christopher Jeffrey
e0c2eb122b
rpc: improve some network rpc calls. 2017-05-13 03:51:01 -07:00
Christopher Jeffrey
4cf82c442f
http/client: better unauth error message. 2017-05-13 02:48:15 -07:00
Christopher Jeffrey
5e0898d920
rpc: minor. 2017-05-12 23:15:08 -07:00
Christopher Jeffrey
f2f94a800e
rpc: fix arg length check for getblock. 2017-05-12 11:44:33 -07:00
Christopher Jeffrey
cecf2c7789
http: fix get block call. fixes #208. 2017-05-12 11:44:32 -07:00
Christopher Jeffrey
c81d57c25c
client: fix wallet admin calls. see #185. 2017-05-12 11:44:32 -07:00
Christopher Jeffrey (JJ)
27b896a4ed Merge pull request #211 from pinheadmz/cbtxt
return coinbase scriptSig string in getblock requests
2017-05-12 10:48:21 -07:00
Matthew Zipkin
6a332bfeaf init return cb rpc 2017-05-05 20:51:57 +00:00
Christopher Jeffrey
12d3ee6f95
rpc: add getblockbyheight call. 2017-04-30 07:18:16 -07:00
Christopher Jeffrey
ed4400acb9
address: start using from/toString. 2017-04-30 07:13:36 -07:00
Christopher Jeffrey
4f09065a3e
rpc: ensure shutdown. see #188. 2017-04-30 06:30:23 -07:00
Christopher Jeffrey
a5520abaae
http: fix tx/address and broadcast routes. 2017-04-30 06:07:18 -07:00
Christopher Jeffrey
db715036aa
http: fix chain resetting for client. 2017-03-17 07:13:24 -07:00
Christopher Jeffrey
e821eb10bf
rpc: minor refactor for gbt deps. 2017-03-17 04:32:41 -07:00
Christopher Jeffrey
16dbde4978
http: do not return stack trace in errors. 2017-03-16 14:20:25 -07:00
Christopher Jeffrey
1f10bf8253
rpc: move getDifficulty. 2017-03-16 14:14:57 -07:00
Christopher Jeffrey
35d9727bc3
rpc: minor. 2017-03-16 14:06:34 -07:00
Christopher Jeffrey
0a065be686
rpc: refactor some calls. 2017-03-16 13:32:11 -07:00