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
Steven Bower
6ad9b2cdeb
CLI: Allow account option for generating addresses
2017-04-25 17:01:19 -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
pablovidal85
fba9b46d25
mempool: import indexAddress option
2017-04-22 00:37:47 +02: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
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
Marty Jones
3db7482e65
[Trivial] Adds JSHint param name
2017-04-10 20:05:56 -05: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
Michael Folkson
769b0c56e9
Add path to bcoin command
...
After npm installing, running the command bcoin didn't work. It should be bin/bcoin instead
Michaels-MacBook-Pro:bcoin michaelfolkson$ pwd
/Users/michaelfolkson/bcoin
Michaels-MacBook-Pro:bcoin michaelfolkson$ bcoin
-bash: bcoin: command not found
2017-03-25 10:22:19 -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
Dionysis Zindros
6d274a1988
Pool.hasTX does not return promise
2017-03-18 19:20:28 +02: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
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