Commit Graph

345 Commits

Author SHA1 Message Date
Christopher Jeffrey
87d664784c
refactor: s/ts/time. s/ps/mtime. 2017-07-25 14:23:10 -07:00
Christopher Jeffrey
02e4dda012
refactor: cleanup for..of loops. 2017-07-25 11:39:12 -07:00
Christopher Jeffrey
32c93af2c4
node/rpc: throw errors on shutdown. minor changes. 2017-07-25 05:30:22 -07:00
Christopher Jeffrey
7eefb773be
refactor: use maps and sets wherever possible. 2017-07-25 05:15:47 -07:00
Christopher Jeffrey
590c4350e9
rpc: fix submitwork. 2017-07-25 02:20:17 -07:00
Christopher Jeffrey
8c212d797f
block: rename some more methods. refactor bip152 ptx vector. 2017-07-25 01:16:25 -07:00
Christopher Jeffrey
7ed36ec2ba
block: rename "abbr" methods to "head". 2017-07-25 00:08:28 -07:00
Christopher Jeffrey
23397dd753
refactor: change for..of loop usage. 2017-07-24 19:45:46 -07:00
Christopher Jeffrey
906a6bf13a
http/tcp: remove reject listener on success. 2017-07-23 08:18:06 -07:00
Christopher Jeffrey
3a0c9b60e2
chain: implement bip91 and bip148. 2017-07-23 07:32:18 -07:00
Christopher Jeffrey (JJ)
296492e7f8 Merge pull request #243 from mnaamani/fix-net-listen
net/http: correctly reject promise return by listen()
2017-07-23 07:01:56 -07:00
Christopher Jeffrey
6a7c5eac8d
http: smarter handling of decodeURIComponent calls. 2017-07-20 17:18:18 -07:00
Mokhtar Naamani
c9f736d33f net/http: correctly reject promise return by listen() 2017-07-19 00:21:35 +03:00
Christopher Jeffrey
053561f2ba
errors: fix stack traces. 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
19f0f42717
http: minor. 2017-07-17 14:26:42 -07:00
Christopher Jeffrey
b570769eed
http: safer path parsing. 2017-07-17 14:26:40 -07:00
Christopher Jeffrey
0250cf4296
workers: better signal handling. 2017-07-17 14:26:40 -07:00
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