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
Christopher Jeffrey
7d6ebd0201
node: make hostlist persistence optional.
2017-03-14 06:10:37 -07:00
Christopher Jeffrey
a986a4c6b8
minor: lint.
2017-03-14 06:10:37 -07:00
Christopher Jeffrey
e6d41d3335
logger: less colors.
2017-03-14 06:10:37 -07:00
Christopher Jeffrey
4674109706
node: refactor config options.
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
b9cb9c7e7d
template: lint.
2017-03-14 06:10:37 -07:00
Christopher Jeffrey
9a7b4eb6a0
validator: minor.
2017-03-14 06:10:36 -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
ef07c52fc6
miner: use next deployment state for flags.
2017-03-14 06:10:36 -07:00
Christopher Jeffrey
5b3ca8ce6f
chain: refactor getDeployments.
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
a266391f1b
logger: truncate log files.
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
806d8c824a
fees: add logger context.
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
896ffdd3f5
masterkey: fix fromKeyRaw.
2017-03-14 06:10:35 -07:00
Christopher Jeffrey
c71039d87c
minor: lint.
2017-03-14 06:10:35 -07:00
Christopher Jeffrey
eb601eece6
node: start using logger contexts.
2017-03-14 06:10:35 -07:00
Christopher Jeffrey
1401860fd4
pool: less error emission.
2017-03-14 06:10:35 -07:00
Christopher Jeffrey
81b565fc85
logger: add logger "contexts".
2017-03-14 06:10:35 -07:00
Christopher Jeffrey
b104e664a7
cpuminer: improve start/stop handling.
2017-03-14 06:10:35 -07:00
Christopher Jeffrey
aa7e550f91
hd: do not store mnemonic on hd private key.
2017-03-14 06:10:35 -07:00
Christopher Jeffrey
d7e2942117
netaddress: fix fromHost.
2017-03-14 06:10:35 -07:00
Christopher Jeffrey
ccd89e4f2f
cpuminer: fixes for job methods.
2017-03-14 06:10:35 -07:00
Christopher Jeffrey
2bd578fbe4
walletdb: minor.
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
bfd7cc9266
miner/template: refactor options handling.
2017-03-14 06:10:35 -07:00
Christopher Jeffrey
b0c2b89e79
mining: refactor proof handling.
2017-03-14 06:10:35 -07:00
Christopher Jeffrey
b453898f6e
rpc: misc fixes.
2017-03-14 06:10:35 -07:00
Christopher Jeffrey
48066f1634
http: misc fixes.
2017-03-14 06:10:34 -07:00
Christopher Jeffrey
1b098b61ba
template: minor.
2017-03-14 06:10:34 -07:00
Christopher Jeffrey
945fa381c5
refactor: mining.
2017-03-14 06:10:34 -07:00
Christopher Jeffrey
50d47dd5a6
rpc: method refactor. getwork refactor.
2017-03-14 06:10:34 -07:00
Christopher Jeffrey
78a4f379f5
rpc: add u32 validation. rename node rpc methods.
2017-03-14 06:10:34 -07:00
Christopher Jeffrey
59e9ef277a
http: make rpc more hookable.
2017-03-14 06:10:34 -07:00
Christopher Jeffrey
a47316c264
http: refactor node websocket api.
2017-03-14 06:10:34 -07:00
Christopher Jeffrey
4c7a935484
http: better channel management.
2017-03-14 06:10:34 -07:00
Christopher Jeffrey
5cbbdbfb2f
refactor: config, plugins, and walletdb.
2017-03-14 06:10:34 -07:00
Christopher Jeffrey
eedc563903
utils: add fs.
2017-03-14 06:09:29 -07:00
Christopher Jeffrey
695305cf68
mtx: add by-value sorting.
2017-03-14 06:09:29 -07:00
Christopher Jeffrey
a81733a720
node/config: refactor config and options.
2017-03-14 06:09:29 -07:00
Dan Robinson
814a77f11c
http: add Authorization to allowed headers
2017-03-13 23:51:41 -07:00
Christopher Jeffrey
667b0e746d
http: fix json rpc id handling. see #159 .
2017-03-12 23:44:04 -07:00