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 |
|
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
|
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
|
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 |
|
Christopher Jeffrey
|
871225bbe4
|
pool/peer: split request map into two maps.
|
2017-03-07 19:49:50 -08:00 |
|
Christopher Jeffrey
|
cdbad54a8c
|
net: improvements. see comments.
- Improved local address handling.
- Enabled upnp discovery.
- Added retry for dns seeds.
- Improved hostlist in general.
|
2017-03-07 17:10:47 -08:00 |
|
Christopher Jeffrey
|
b53162e12d
|
mempool: fix getDescendants and getAncestors.
|
2017-03-05 16:44:46 -08:00 |
|
Christopher Jeffrey
|
a2fd9b35c6
|
rpc: fix besthash byte order.
|
2017-03-04 16:00:37 -08:00 |
|
Christopher Jeffrey
|
a96868ff8e
|
pool: track peer heights.
|
2017-03-04 15:40:59 -08:00 |
|
Christopher Jeffrey
|
beefcfba67
|
chain: return null on orphan blocks.
|
2017-03-04 15:37:27 -08:00 |
|
Christopher Jeffrey
|
7b516ddd1e
|
net: more stall behavior.
|
2017-03-02 17:47:02 -08:00 |
|
Christopher Jeffrey
|
28b55339d5
|
http: improve request options.
|
2017-03-01 20:30:45 -08:00 |
|
Christopher Jeffrey
|
89ff0796c7
|
refactor: do not require json files.
|
2017-03-01 08:48:53 -08:00 |
|
Christopher Jeffrey
|
7a1e539700
|
http: refactor route handlers.
|
2017-02-28 22:45:47 -08:00 |
|
Christopher Jeffrey
|
c365ecb3ea
|
rpc: improve getrawtransaction.
|
2017-02-28 15:15:52 -08:00 |
|
Christopher Jeffrey
|
9f09de4867
|
rpc/http/wallet: more aggressive validation for addrs/keys.
|
2017-02-28 14:52:54 -08:00 |
|
Christopher Jeffrey
|
7688d80e74
|
block/chain: refactor block verification and caching.
|
2017-02-28 09:20:22 -08:00 |
|
Christopher Jeffrey
|
47c43ea39a
|
rpcclient: refactor error handling.
|
2017-02-28 09:20:22 -08:00 |
|
Christopher Jeffrey
|
cb5fa84042
|
rpc: minor fixes.
|
2017-02-28 09:20:22 -08:00 |
|
Christopher Jeffrey
|
c5e4aa0245
|
rpc: refactor help handling.
|
2017-02-28 09:20:22 -08:00 |
|
Christopher Jeffrey
|
39c1817043
|
chain: add verifyBlock method. expose on rpc.
|
2017-02-28 09:20:22 -08:00 |
|
Christopher Jeffrey
|
2ee803810e
|
http: remove unnecessary headers.
|
2017-02-28 05:35:25 -08:00 |
|
Christopher Jeffrey
|
49bb9ed0fa
|
http: always parse json for compatability. fixes #146.
|
2017-02-28 05:30:10 -08:00 |
|
Christopher Jeffrey
|
0120e67203
|
rpc: more accurate client rules handling (gbt).
|
2017-02-27 00:16:44 -08:00 |
|
Christopher Jeffrey
|
769bbd1370
|
rpc: clean up some rpc calls.
|
2017-02-26 22:50:07 -08:00 |
|
Christopher Jeffrey
|
e49e877f17
|
rpc: do not use weight pre-segwit (see 9fc7f0b).
|
2017-02-26 21:20:24 -08:00 |
|
Christopher Jeffrey
|
bb5a7b00d6
|
http: less spam.
|
2017-02-26 04:27:00 -08:00 |
|
Christopher Jeffrey
|
ad51bf53f3
|
rpc: better bitcoind compat.
|
2017-02-26 04:21:24 -08:00 |
|
Christopher Jeffrey
|
3ac0d3de78
|
http: fix for ckpool (getblocktemplate).
|
2017-02-26 04:03:27 -08:00 |
|
Christopher Jeffrey
|
c80c242738
|
rpc: reverse target endianness.
|
2017-02-26 03:25:55 -08:00 |
|
Christopher Jeffrey
|
cb7af959ce
|
miner: compare cumulative descendant fee rate.
|
2017-02-26 03:09:33 -08:00 |
|
Christopher Jeffrey
|
386ef622c0
|
rpc: only add wit-nonce if segwit is active (submitblock).
|
2017-02-25 18:22:22 -08:00 |
|
Christopher Jeffrey
|
304f0e7e75
|
smart coin selection.
|
2017-02-22 11:35:49 -08:00 |
|
Steven Bower
|
393dd5dae7
|
HTTP: Fix DELETE requests
|
2017-02-20 17:36:28 -08:00 |
|
Christopher Jeffrey
|
1e07d1ba83
|
chain: improve target and mtp calculation.
|
2017-02-13 21:59:41 -08:00 |
|
Christopher Jeffrey
|
7cc62c0a1e
|
rpc: fix getpeerinfo - relaytxes.
|
2017-02-08 15:56:31 -08:00 |
|
Christopher Jeffrey
|
e3c0b123a0
|
docs: build and expose scripterror properly.
|
2017-02-07 16:09:25 -08:00 |
|
Christopher Jeffrey
|
ef95b69e5e
|
minor: refactor. move asyncobject.
|
2017-02-04 14:52:13 -08:00 |
|
Christopher Jeffrey
|
4e7df6ef87
|
docs: get jsdoc compiling again.
|
2017-02-03 22:47:26 -08:00 |
|
Christopher Jeffrey
|
67e6c8d768
|
http: add hooks.
|
2017-01-26 03:00:14 -08:00 |
|
Christopher Jeffrey
|
b8324e0b09
|
ip: rename some functions.
|
2017-01-23 23:08:21 -08:00 |
|
Christopher Jeffrey
|
016d0da096
|
ip/netaddress: better ip parsing.
|
2017-01-23 19:36:19 -08:00 |
|
Christopher Jeffrey
|
30ab5c2a88
|
http/pool: more options fixes.
|
2017-01-23 03:58:47 -08:00 |
|
Christopher Jeffrey
|
cbb45db801
|
config: rename useCheckpoints. allow implicit noAuth on localhost.
|
2017-01-23 03:19:19 -08:00 |
|
Christopher Jeffrey
|
6e13fe57c0
|
pool: refactor header sync.
|
2017-01-21 16:59:20 -08:00 |
|
Christopher Jeffrey
|
b212eed282
|
net: handle public ip and port better.
|
2017-01-21 13:56:41 -08:00 |
|
Christopher Jeffrey
|
9d580289ab
|
rpc: fix peer.hostname.
|
2017-01-21 04:12:39 -08:00 |
|
Christopher Jeffrey
|
db49f44c8a
|
peer: refactor version packet handling.
|
2017-01-16 03:33:54 -08:00 |
|
Christopher Jeffrey
|
a53b2c0eef
|
primitives: cloning and assertions.
|
2017-01-15 15:17:33 -08:00 |
|
Christopher Jeffrey
|
6d1c918793
|
hostlist: refactor seed handling.
|
2017-01-15 13:03:57 -08:00 |
|
Christopher Jeffrey
|
199699d73a
|
node: better option handling.
|
2017-01-14 19:35:59 -08:00 |
|
Christopher Jeffrey
|
a486bd3a18
|
refactor: options.
|
2017-01-14 17:59:54 -08:00 |
|
Christopher Jeffrey
|
e51062d249
|
http: minor params.
|
2017-01-13 18:50:52 -08:00 |
|
Christopher Jeffrey
|
46e53abe9c
|
gbt: fix target endianness.
|
2017-01-13 15:11:35 -08:00 |
|
Christopher Jeffrey
|
34dd6c3b79
|
http: url fixes.
|
2017-01-12 13:04:10 -08:00 |
|
Christopher Jeffrey
|
002718206a
|
rpc: some refactoring.
|
2017-01-12 12:41:33 -08:00 |
|
Christopher Jeffrey
|
9e0b10f314
|
http: path parsing.
|
2017-01-12 12:40:31 -08:00 |
|
Christopher Jeffrey
|
fed7d0de54
|
http: remove use of callbacks.
|
2017-01-12 02:57:24 -08:00 |
|
Christopher Jeffrey
|
c28589d0e6
|
http-base: remove useless asserts and loops.
|
2017-01-11 23:40:07 -08:00 |
|
Christopher Jeffrey
|
9de61172a4
|
refactor: use Object.create(null) for all user input keys.
|
2017-01-11 21:27:55 -08:00 |
|
Christopher Jeffrey
|
7c021cf842
|
utils: rename locker to lock for consistency.
|
2017-01-11 21:20:26 -08:00 |
|
Christopher Jeffrey
|
ef4ab275da
|
http: minor.
|
2017-01-11 19:23:03 -08:00 |
|
Christopher Jeffrey
|
f192dab0a6
|
minor: lint.
|
2017-01-11 18:55:27 -08:00 |
|
Christopher Jeffrey
|
1cda7cb702
|
http: make http base server safer.
|
2017-01-11 18:42:08 -08:00 |
|
Christopher Jeffrey
|
0eef277984
|
mtx: coin selector refactor.
|
2017-01-07 15:39:18 -08:00 |
|
Christopher Jeffrey
|
d396cdd0fd
|
constants: minor.
|
2017-01-06 21:14:11 -08:00 |
|
Christopher Jeffrey
|
75430cae8b
|
refactor: more moving.
|
2017-01-06 10:18:21 -08:00 |
|
Christopher Jeffrey
|
5caf6210b9
|
refactor: move constants around.
|
2017-01-06 09:57:55 -08:00 |
|
Christopher Jeffrey
|
e36adec092
|
request: silence errors after cleanup.
|
2016-12-23 11:27:18 -08:00 |
|
Christopher Jeffrey
|
14f2851929
|
pool: add ban and unban calls once again.
|
2016-12-21 15:13:01 -08:00 |
|
Christopher Jeffrey
|
bb1bf9f138
|
http: fix info call.
|
2016-12-21 14:49:26 -08:00 |
|
Christopher Jeffrey
|
24e6ed7a26
|
net: rewrite hostlist. bitcoind-style management.
|
2016-12-21 13:18:03 -08:00 |
|
Christopher Jeffrey
|
25101f1784
|
net: refactor host and peer list.
|
2016-12-20 15:45:12 -08:00 |
|
Christopher Jeffrey
|
127a52aaf1
|
refactor: rename network address.
|
2016-12-20 12:47:19 -08:00 |
|
Christopher Jeffrey
|
cc2d49ea10
|
request: refactor mime types.
|
2016-12-19 16:50:32 -08:00 |
|
Christopher Jeffrey
|
b9d6e7e40d
|
request: more content types.
|
2016-12-19 15:06:44 -08:00 |
|
Christopher Jeffrey
|
37f8d45c25
|
server: add get wallets call.
|
2016-12-19 08:04:30 -08:00 |
|
Christopher Jeffrey
|
aa07255d74
|
request: make pool an explicit option.
|
2016-12-19 07:29:43 -08:00 |
|
Christopher Jeffrey
|
22c5014c49
|
request: fix socket hangup.
|
2016-12-19 07:21:40 -08:00 |
|
Christopher Jeffrey
|
53e30fcc08
|
http: request - response limit.
|
2016-12-18 14:27:42 -08:00 |
|
Christopher Jeffrey
|
edf47d67c8
|
primitives: refresh call.
|
2016-12-16 22:02:05 -08:00 |
|
Christopher Jeffrey
|
4269d16fee
|
refactor: lint.
|
2016-12-16 14:49:35 -08:00 |
|
Christopher Jeffrey
|
7971e56765
|
peer: use list for request queue.
|
2016-12-16 14:40:30 -08:00 |
|
Christopher Jeffrey
|
69a9b5873f
|
net: use linked lists.
|
2016-12-16 03:18:08 -08:00 |
|
Christopher Jeffrey
|
67ffecc989
|
http: refactor info.
|
2016-12-15 19:57:04 -08:00 |
|
Christopher Jeffrey
|
d661496541
|
rpc: minor.
|
2016-12-15 19:20:12 -08:00 |
|
Christopher Jeffrey
|
29579fc8d0
|
rpc: refactor getblocktemplate.
|
2016-12-15 19:06:22 -08:00 |
|
Christopher Jeffrey
|
2e26909e85
|
rpc: add witness nonce for submitted blocks.
|
2016-12-15 16:12:35 -08:00 |
|
Christopher Jeffrey
|
6d1eb9fd36
|
rpc: submitblock logs.
|
2016-12-15 15:38:27 -08:00 |
|
Christopher Jeffrey
|
559cc3592d
|
mempool: handle mined removal better.
|
2016-12-15 15:12:55 -08:00 |
|
Christopher Jeffrey
|
8b05ef2def
|
http: fix html type for request.
|
2016-12-15 09:15:37 -08:00 |
|