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 |
|
Christopher Jeffrey
|
b2ef630341
|
http: less spam.
|
2016-12-14 12:11:05 -08:00 |
|
Christopher Jeffrey
|
4a8c4dee57
|
node: fix event race conditions.
|
2016-12-14 12:03:47 -08:00 |
|
Christopher Jeffrey
|
4353decc5a
|
mining: remove cheating. rename witness deployment to segwit.
|
2016-12-14 11:27:39 -08:00 |
|
Christopher Jeffrey
|
65ddc563d6
|
miner: mining and rpc changes.
|
2016-12-14 10:03:39 -08:00 |
|
Christopher Jeffrey
|
b025f5c241
|
http: allow batched rpc calls.
|
2016-12-14 07:05:24 -08:00 |
|