Christopher Jeffrey
|
9cc5c393b4
|
eslint: use prefer-const.
|
2017-07-31 18:21:02 -07:00 |
|
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 |
|
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 |
|
Christopher Jeffrey
|
c0e4c169ba
|
http: more tests.
|
2017-03-15 20:38:04 -07:00 |
|
Christopher Jeffrey
|
0d844be588
|
rpc: tests and fixes.
|
2017-03-15 20:21:24 -07:00 |
|
Christopher Jeffrey
|
2e4a759487
|
gbt: fix deps check. do not mutate version.
|
2017-03-15 09:14:32 -07:00 |
|
Christopher Jeffrey
|
89cbdac61e
|
rpc: more gbt/getwork improvements.
|
2017-03-15 08:54:29 -07:00 |
|
Christopher Jeffrey
|
ff80620e5e
|
rpc: some more gbt fixes.
|
2017-03-15 07:45:23 -07:00 |
|
Christopher Jeffrey
|
66c4fd8a77
|
rpc: better funding errors.
|
2017-03-15 06:55:00 -07:00 |
|
Christopher Jeffrey
|
1458366441
|
reader: better errors.
|
2017-03-15 06:49:46 -07:00 |
|
Christopher Jeffrey
|
3ae417795f
|
rpc: better error codes.
|
2017-03-15 06:13:27 -07:00 |
|
Christopher Jeffrey
|
5ee8a9b306
|
rpc: improve gbt proposal and capabilities handling.
|
2017-03-15 04:49:54 -07:00 |
|
Christopher Jeffrey
|
dc6b7b1f10
|
rpc: rename _submitBlock.
|
2017-03-15 04:04:22 -07:00 |
|
Christopher Jeffrey
|
9581225b8c
|
rpc: hold chain lock during submitblock.
|
2017-03-15 03:59:46 -07:00 |
|
Christopher Jeffrey
|
de50a62b00
|
rpc: misc fixes.
|
2017-03-15 03:44:45 -07:00 |
|
Christopher Jeffrey
|
a4e37cf9df
|
browser: fixes.
|
2017-03-14 08:07:42 -07:00 |
|
Christopher Jeffrey
|
f2c53e2e08
|
rpc: reimplement rpc id fix. closes #159.
|
2017-03-14 06:41:06 -07:00 |
|
Christopher Jeffrey
|
2a17362fa0
|
Merge remote-tracking branch 'danrobinson/authorization-header'
|
2017-03-14 06:33:17 -07:00 |
|
Christopher Jeffrey
|
a986a4c6b8
|
minor: lint.
|
2017-03-14 06:10:37 -07:00 |
|
Christopher Jeffrey
|
290f6ab563
|
rpc: implement invalidateblock correctly.
|
2017-03-14 06:10:37 -07:00 |
|
Christopher Jeffrey
|
c174bed58d
|
rpc: getmemoryinfo.
|
2017-03-14 06:10:37 -07:00 |
|
Christopher Jeffrey
|
9e479483f5
|
minor: lint.
|
2017-03-14 06:10:37 -07:00 |
|
Christopher Jeffrey
|
68bba8621e
|
rpc/mempool: implement prioritisetransaction.
|
2017-03-14 06:10:37 -07:00 |
|
Christopher Jeffrey
|
6f27b3fa3d
|
rpc: minor.
|
2017-03-14 06:10:37 -07:00 |
|
Christopher Jeffrey
|
6eb6800fc8
|
rpc: misc rpc fixes.
|
2017-03-14 06:10:36 -07:00 |
|
Christopher Jeffrey
|
f4106a615e
|
rpc: fix getinfo. see #165.
|
2017-03-14 06:10:36 -07:00 |
|
Christopher Jeffrey
|
023591978a
|
rpc: fix wit commitment for getblocktemplate.
|
2017-03-14 06:10:36 -07:00 |
|
Christopher Jeffrey
|
b372715c88
|
miner: update curtime. see #160.
|
2017-03-14 06:10:36 -07:00 |
|
Christopher Jeffrey
|
99d2cceebe
|
rpc: fix nonce updating.
|
2017-03-14 06:10:36 -07:00 |
|
Christopher Jeffrey
|
5ce806a723
|
rpc: fix cpuminer.
|
2017-03-14 06:10:36 -07:00 |
|
Christopher Jeffrey
|
f7853aa639
|
logger: better context handling.
|
2017-03-14 06:10:36 -07:00 |
|
Christopher Jeffrey
|
eb601eece6
|
node: start using logger contexts.
|
2017-03-14 06:10:35 -07:00 |
|
Christopher Jeffrey
|
1a8a9afade
|
config/wallet: refactor config handling. add wallet server.
|
2017-03-14 06:10:35 -07:00 |
|
Christopher Jeffrey
|
b0c2b89e79
|
mining: refactor proof handling.
|
2017-03-14 06:10:35 -07:00 |
|