Commit Graph

3918 Commits

Author SHA1 Message Date
Christopher Jeffrey
f2f94a800e
rpc: fix arg length check for getblock. 2017-05-12 11:44:33 -07:00
Christopher Jeffrey
b66f023e22
bin: add --version and --help args. fixes #209. 2017-05-12 11:44:33 -07:00
Christopher Jeffrey
993a27525e
config: expand home directory in config path. 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
Christopher Jeffrey (JJ)
21dc8b4af0 Merge pull request #200 from thehobbit85/master
Updated packages with known security issues
2017-05-07 22:36:59 -07:00
Matthew Zipkin
6a332bfeaf init return cb rpc 2017-05-05 20:51:57 +00:00
Christopher Jeffrey
377017ba3d
walletdb: handle errors for plugin. 2017-05-03 19:29:45 -07:00
Christopher Jeffrey
52bf0d420a
workers: unref all streams. 2017-05-01 11:41:05 -07:00
Christopher Jeffrey
d3cfad0c64
spvnode: fix config inconsistency. fixes #195. 2017-04-30 07:28:16 -07: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
14ee1f8f03
address: expose bech32. 2017-04-30 06:42:21 -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
c1d7e93477
networks: fix last checkpoint. 2017-04-30 06:06:39 -07:00
thehobbit85
661c8c59ff Updated socket.io and socket.io-client since the previous versions contained modules with security vulnerabilities.
Those are the vulnerabilities according to a scan using NSP (https://github.com/nodesecurity/nsp)

(+) 4 vulnerabilities found
┌───────────────┬─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
│               │ DoS due to excessively large websocket message                                                                                      │
├───────────────┼─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ Name          │ ws                                                                                                                                  │
├───────────────┼─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ Installed     │ 1.1.0                                                                                                                               │
├───────────────┼─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ Vulnerable    │ <=1.1.0                                                                                                                             │
├───────────────┼─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ Patched       │ >=1.1.1                                                                                                                             │
├───────────────┼─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ Path          │ bcoin@1.0.0-beta.12 > socket.io@1.4.8 > engine.io@1.6.11 > ws@1.1.0                                                                 │
├───────────────┼─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ More Info     │ https://nodesecurity.io/advisories/120                                                                                              │
└───────────────┴─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
┌───────────────┬─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
│               │ Regular Expression Denial of Service                                                                                                │
├───────────────┼─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ Name          │ negotiator                                                                                                                          │
├───────────────┼─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ Installed     │ 0.4.9                                                                                                                               │
├───────────────┼─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ Vulnerable    │ <= 0.6.0                                                                                                                            │
├───────────────┼─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ Patched       │ >= 0.6.1                                                                                                                            │
├───────────────┼─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ Path          │ bcoin@1.0.0-beta.12 > socket.io@1.4.8 > engine.io@1.6.11 > accepts@1.1.4 > negotiator@0.4.9                                         │
├───────────────┼─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ More Info     │ https://nodesecurity.io/advisories/106                                                                                              │
└───────────────┴─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
┌───────────────┬─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
│               │ DoS due to excessively large websocket message                                                                                      │
├───────────────┼─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ Name          │ ws                                                                                                                                  │
├───────────────┼─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ Installed     │ 1.0.1                                                                                                                               │
├───────────────┼─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ Vulnerable    │ <=1.1.0                                                                                                                             │
├───────────────┼─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ Patched       │ >=1.1.1                                                                                                                             │
├───────────────┼─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ Path          │ bcoin@1.0.0-beta.12 > socket.io@1.4.8 > socket.io-client@1.4.8 > engine.io-client@1.6.11 > ws@1.0.1                                 │
├───────────────┼─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ More Info     │ https://nodesecurity.io/advisories/120                                                                                              │
└───────────────┴─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
┌───────────────┬─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
│               │ DoS due to excessively large websocket message                                                                                      │
├───────────────┼─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ Name          │ ws                                                                                                                                  │
├───────────────┼─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ Installed     │ 1.0.1                                                                                                                               │
├───────────────┼─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ Vulnerable    │ <=1.1.0                                                                                                                             │
├───────────────┼─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ Patched       │ >=1.1.1                                                                                                                             │
├───────────────┼─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ Path          │ bcoin@1.0.0-beta.12 > socket.io-client@1.4.8 > engine.io-client@1.6.11 > ws@1.0.1                                                   │
├───────────────┼─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ More Info     │ https://nodesecurity.io/advisories/120                                                                                              │
└───────────────┴─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
2017-04-22 21:35:11 +03:00
Christopher Jeffrey
6acef06cbc
address: implement bech32 addresses. 2017-04-12 23:13:29 -07:00
Christopher Jeffrey
6182df0442
config: fix mempool size and entry cache. 2017-04-12 08:23:19 -07:00
Christopher Jeffrey
a630d23a97
config: fix mb param. 2017-03-30 02:44:01 -07:00
Christopher Jeffrey
6fde0fd7d8
v1.0.0-beta.12 2017-03-26 15:18:23 -07:00
Christopher Jeffrey
0429d56534
http: fix response for wallet join (no wallet auth). 2017-03-26 15:15:29 -07:00
Christopher Jeffrey
378051c4a8
networks: fix witnesspubkeyhash for simnet. 2017-03-26 15:15:12 -07:00
Christopher Jeffrey
fd1ff3359c
v1.0.0-beta.11 2017-03-24 22:09:19 -07:00
Christopher Jeffrey
e609613519
networks: fix simnet. 2017-03-24 22:07:37 -07:00
Christopher Jeffrey
bdd1c9ee1a
examples: add tx example. 2017-03-24 18:06:59 -07:00
Christopher Jeffrey
07ba83277b
examples: client example. 2017-03-24 18:03:36 -07:00
Christopher Jeffrey
9008a90cb0
examples: more examples. 2017-03-24 16:26:34 -07:00
Christopher Jeffrey
89667c3e3e
examples: add examples. 2017-03-24 15:53:44 -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
f778a8c1b5
bip152: do not use Block.totalTX. 2017-03-16 15:46:16 -07:00
Christopher Jeffrey
8453c250dc
cpuminer: fix getHashes. 2017-03-16 14:30:49 -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
8110c73b17
v1.0.0-beta.10 2017-03-16 00:40:45 -07:00
Christopher Jeffrey
9388256e48
hostlist: fix flushing. 2017-03-16 00:39:30 -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
335a0b1cd1
node: do not modify globals. 2017-03-15 18:43:52 -07:00
Christopher Jeffrey
0e5c542b49
rpc: minor. 2017-03-15 18:20:29 -07:00
Christopher Jeffrey
93c190d646
node/cli: more config options. 2017-03-15 16:25:57 -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
1a3dcbd277
test: add some more rpc tests. 2017-03-15 07:21:14 -07:00
Christopher Jeffrey
b2649a6cd1
encoding: fix asserts. 2017-03-15 07:21:04 -07:00