Christopher Jeffrey
6c32fbd283
networks: minor.
2017-05-13 18:36:26 -07:00
Christopher Jeffrey
6643f0a308
networks: make networks more unique.
2017-05-13 18:35:58 -07:00
Christopher Jeffrey
e55ca1eb3d
address: sanity checks.
2017-05-13 17:22:32 -07:00
Christopher Jeffrey
d64bffdd17
bech32: sanity checks.
2017-05-13 16:23:32 -07:00
Christopher Jeffrey
c1dbac3a4a
bech32: optimize bits conversion.
2017-05-13 15:51:51 -07:00
Christopher Jeffrey
44f6dd9386
address: lint.
2017-05-13 15:23:20 -07:00
Christopher Jeffrey
a9ea4e5531
bech32: refactor.
2017-05-13 15:13:42 -07:00
Christopher Jeffrey
83060ee964
bech32: rewrite and improve perf.
2017-05-13 13:54:11 -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
b790dfea6d
merkleblock: remove useless method.
2017-05-13 03:52:58 -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
af0ab46f21
config/validator: add some validation methods.
2017-05-13 02:39:03 -07:00
Christopher Jeffrey
677d85de1c
node: make plugin methods optional.
2017-05-13 02:01:22 -07:00
Christopher Jeffrey
5915338407
address: improve isNull.
2017-05-13 00:34:01 -07:00
Christopher Jeffrey
41d9493cc7
minor: lint.
2017-05-13 00:31:18 -07:00
Christopher Jeffrey
168012f4c5
networks: update minimum chainworks.
2017-05-13 00:29:56 -07:00
Christopher Jeffrey
0ea341772c
address: make bech32 addrs more sane.
2017-05-13 00:21:51 -07:00
Christopher Jeffrey
5e0898d920
rpc: minor.
2017-05-12 23:15:08 -07:00
Christopher Jeffrey
1ae6205e24
wallet/http: remove admin check for now. see #185 .
2017-05-12 15:57:01 -07:00
Christopher Jeffrey
2b970e2e40
wallet/http: treat sign call tx as an mtx. fixes #149 .
2017-05-12 15:52:18 -07:00
Christopher Jeffrey
93df5e7913
template: set default commitment of zeroes.
2017-05-12 15:52:18 -07:00
Christopher Jeffrey (JJ)
a3b0d10c30
Merge pull request #169 from dionyziz/fix_promise_docs
...
Pool.hasTX does not return promise
2017-05-12 15:47:31 -07:00
Christopher Jeffrey (JJ)
724e60970a
Merge pull request #183 from murtyjones/patch-1
...
[Trivial] Adds JSHint param name
2017-05-12 13:35:41 -07:00
Christopher Jeffrey (JJ)
3fda5bedab
Merge pull request #198 from kleetus/compat/bool-validation
...
RPC method compatibility with bitcoin core.
2017-05-12 13:33:36 -07:00
Christopher Jeffrey (JJ)
405c18f080
Merge pull request #199 from homeopatchy/mempool-import-index-address-option
...
mempool: import indexAddress option.
2017-05-12 13:31:09 -07:00
Christopher Jeffrey (JJ)
bff9ea2c16
Merge pull request #214 from samlanning/is-float
...
Various improvements to float parsing
2017-05-12 13:26:26 -07:00
Christopher Jeffrey
a1d0948f2e
net: add --only option. fixes #210 .
2017-05-12 12:02:55 -07:00
Christopher Jeffrey
87b5375079
db: fix error message. fixes #168 .
2017-05-12 11:57:44 -07:00
Christopher Jeffrey
3ca70a152a
block: remove coinbase from json output.
2017-05-12 11:45:30 -07:00
Christopher Jeffrey
f2f94a800e
rpc: fix arg length check for getblock.
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
Sam Lanning
7379482c32
btc: remove unneeded radix parameter for parseFloat()
2017-05-11 15:56:10 -07:00
Sam Lanning
3e06a244dd
utils: Add clarification to util.isFloat() jsdoc
2017-05-11 14:38:36 -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
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
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
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
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
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
ede25e8c9e
cpuminer: fix stop.
2017-03-14 17:40:34 -07:00
Christopher Jeffrey
010267e78e
config: minor.
2017-03-14 17:40:25 -07:00
Christopher Jeffrey
32ea933b77
logger: minor.
2017-03-14 08:23:56 -07:00
Christopher Jeffrey
203791c1f7
node: add location method.
2017-03-14 08:18:37 -07:00
Christopher Jeffrey
a4e37cf9df
browser: fixes.
2017-03-14 08:07:42 -07:00
Christopher Jeffrey
51ed3262e8
amount: fix function name collision. fixes #154 .
2017-03-14 06:45:12 -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
42da82e007
wallet: fix tests and add compat routes.
2017-03-14 06:28:55 -07:00
Christopher Jeffrey
1d6bd6dbe4
node: require walletdb by default for now.
2017-03-14 06:22:43 -07:00
Christopher Jeffrey
74b21b78c5
config/validator: fix lists.
2017-03-14 06:16:57 -07:00
Christopher Jeffrey
544836de3d
networks: update checkpoints and chainwork.
2017-03-14 06:10:37 -07:00
Christopher Jeffrey
9ab06b8e81
logger: remove old constants.
2017-03-14 06:10:37 -07:00