Commit Graph

152 Commits

Author SHA1 Message Date
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
6d1c918793
hostlist: refactor seed handling. 2017-01-15 13:03:57 -08:00
Christopher Jeffrey
a486bd3a18
refactor: options. 2017-01-14 17:59:54 -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
fed7d0de54
http: remove use of callbacks. 2017-01-12 02:57:24 -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
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
0eef277984
mtx: coin selector refactor. 2017-01-07 15:39:18 -08:00
Christopher Jeffrey
5caf6210b9
refactor: move constants around. 2017-01-06 09:57:55 -08:00
Christopher Jeffrey
bb1bf9f138
http: fix info call. 2016-12-21 14:49:26 -08:00
Christopher Jeffrey
37f8d45c25
server: add get wallets call. 2016-12-19 08:04: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
559cc3592d
mempool: handle mined removal better. 2016-12-15 15:12:55 -08:00
Christopher Jeffrey
b2ef630341
http: less spam. 2016-12-14 12:11:05 -08:00
Christopher Jeffrey
4353decc5a
mining: remove cheating. rename witness deployment to segwit. 2016-12-14 11:27:39 -08:00
Christopher Jeffrey
b025f5c241
http: allow batched rpc calls. 2016-12-14 07:05:24 -08:00
Christopher Jeffrey
eef018004f
http/rpc: mining. logs and error handling. 2016-12-13 21:06:37 -08:00
Christopher Jeffrey
33a8e1e511
block/tx: sigops cost/size/weight. 2016-12-13 16:52:31 -08:00
Christopher Jeffrey
59645ac3ec
refactor: remove extra properties from tx and block. 2016-12-11 05:35:31 -08:00
Christopher Jeffrey
b77aa9240e
coins: refactor and comments. 2016-12-10 20:43:49 -08:00
Christopher Jeffrey
12b3274d33
refactor: pass coin viewpoints for every function requiring inputs. 2016-12-09 07:15:35 -08:00
Christopher Jeffrey
9215e4fe48
address: better network validation. 2016-12-06 14:24:05 -08:00
Christopher Jeffrey
d2e9843757
http: fix addr array. 2016-12-06 00:04:04 -08:00
Christopher Jeffrey
4e4dbfba49
server/wallet/mempool: get tests passing. 2016-12-05 21:02:08 -08:00
Christopher Jeffrey
5091f69038
wallet/http: send address validation. 2016-12-05 17:24:18 -08:00
Christopher Jeffrey
ded3bc34f3
refactor: start moving away from getters. 2016-11-30 21:31:52 -08:00
Christopher Jeffrey
01e7fd3902
pool: rename outbound/inbound. remove co.wait() in scheduleRequests. 2016-11-28 20:40:09 -08:00
Christopher Jeffrey
507fd89948
timedata: move time to network object. 2016-11-28 16:58:48 -08:00
Christopher Jeffrey
c0fd199f2d
chain: refactor and optimize. 2016-11-25 19:34:25 -08:00
Christopher Jeffrey
6c61ad976d
walletdb: add experimental client. 2016-11-19 22:55:00 -08:00
Christopher Jeffrey
d75b5d80cc
walletdb: nodeclient work. 2016-11-19 21:40:31 -08:00
Christopher Jeffrey
1827b945dd
walletdb: new client api. 2016-11-19 18:26:27 -08:00
Christopher Jeffrey
b754973511
utils/btc: rename. 2016-11-19 10:45:31 -08:00
Christopher Jeffrey
ae093d2242
amount/utils: drop utils.btc and utils.satoshi. 2016-11-19 09:59:47 -08:00
Christopher Jeffrey
7f3c265085
net: rename timedata. 2016-11-19 06:53:59 -08:00
Christopher Jeffrey
0631148705
modules: more refactoring. 2016-11-19 05:29:29 -08:00
Christopher Jeffrey
091ddf2029
http: minor. 2016-11-18 23:39:52 -08:00
Christopher Jeffrey
39aee21030
tx: refactor network handling in json serialization. 2016-11-17 04:05:32 -08:00
Christopher Jeffrey
501eef858d
http: refactor how height/hash are handled. 2016-11-16 12:08:45 -08:00
Christopher Jeffrey
51e271fe0d
http: allow hash/height mixup. 2016-11-16 10:03:03 -08:00
Christopher Jeffrey
f6c09af49f
http: expose chain resetting. 2016-11-16 09:56:52 -08:00
Christopher Jeffrey
c011e94cdb
http: allow rescanning from start block. 2016-11-16 09:43:54 -08:00
Christopher Jeffrey
f0fb7c4db3
http: do not allow dumping of master key without admin privileges. 2016-11-16 09:42:14 -08:00
Christopher Jeffrey
3beae441bb
http: refactor cli usage of http clients. 2016-11-13 11:30:00 -08:00
Christopher Jeffrey
5069ec1bfb
walletdb: list blocks. 2016-11-09 18:25:36 -08:00
Christopher Jeffrey
86e1e35f9a
txdb: add block entries. 2016-11-09 18:25:35 -08:00
Christopher Jeffrey
aa79d92a83
http: more wallet api calls. 2016-11-09 18:25:33 -08:00
Christopher Jeffrey
60575c0ea0
walletdb: cleanup. 2016-11-09 18:25:32 -08:00
Christopher Jeffrey
3a89e627b8
walletdb: sync state and utxo handling refactor. 2016-11-09 18:25:32 -08:00
Christopher Jeffrey
ae2573bc57
http: require api key for new websocket calls. 2016-10-25 09:16:26 -07:00
Christopher Jeffrey
9988123b61
http: improve info call. 2016-10-25 08:40:08 -07:00
Christopher Jeffrey
322e74cbb7
http: censor passphrase from logs. 2016-10-25 08:11:22 -07:00
Christopher Jeffrey
c9b038d4e0
scanning: more bloom filter things. 2016-10-24 19:16:10 -07:00
Christopher Jeffrey
c9b84252af
scanning: only add matching txids for outputs. 2016-10-24 18:55:34 -07:00
Christopher Jeffrey
5a4ebccfd4
walletdb: use bloom filter for rescanning. 2016-10-24 18:43:39 -07:00
Christopher Jeffrey
3bffbed25a
global: lint. 2016-10-24 17:58:23 -07:00
Christopher Jeffrey
3b333c07cd
walletdb: start separating out walletdb. 2016-10-24 15:32:22 -07:00
Christopher Jeffrey
4128ddba36
wallet: more chain atomicity. 2016-10-22 13:34:28 -07:00
Christopher Jeffrey
21b2a12278
http: convert token to buffer for ws auth. 2016-10-21 19:38:12 -07:00
Christopher Jeffrey
9049053a1e
http: send details after send. 2016-10-21 19:38:10 -07:00
Christopher Jeffrey
3412916c89
txdb: refactor. 2016-10-21 19:38:08 -07:00
Christopher Jeffrey
11b2f1a7bc
txdb: less confusing tx details. 2016-10-21 19:38:08 -07:00
Christopher Jeffrey
a62fdb3356
http: stop resend from hanging. 2016-10-21 19:38:06 -07:00
Christopher Jeffrey
b58c9746ec
http: resend call. 2016-10-21 19:38:06 -07:00
Christopher Jeffrey
aed03c2655
txdb: add txdb state. 2016-10-21 19:38:05 -07:00
Christopher Jeffrey
a864ec1552
wallet: refactor passphrase options. 2016-10-21 19:38:04 -07:00
Christopher Jeffrey
a2d6ed56e7
refactor: have promises resolve to undefined. 2016-10-21 19:38:04 -07:00
Christopher Jeffrey
5bb21070c4
wallet: refactor and add global zap. 2016-10-05 19:16:33 -07:00
Christopher Jeffrey
41a94dacd2
http: fix hd key handling. 2016-10-05 07:25:03 -07:00
Christopher Jeffrey
323ea3eda5
http: handle api keys better. 2016-10-05 07:11:13 -07:00
Christopher Jeffrey
745c12ef3a
http: allow admin status for noAuth. 2016-10-05 05:59:56 -07:00
Christopher Jeffrey
383c8f085f
http: add admin key for dos-able calls. 2016-10-05 05:51:32 -07:00
Christopher Jeffrey
80aa8f8c4c
http: more methods and better validation. 2016-10-05 04:55:19 -07:00
Christopher Jeffrey
5e1b56363b
http: add watchOnly options. 2016-10-04 17:06:56 -07:00
Christopher Jeffrey
0f74292082
refactor: style. 2016-10-03 07:58:12 -07:00
Christopher Jeffrey
1a8657d131
spawn: rename to co. 2016-10-02 23:24:11 -07:00
Christopher Jeffrey
f0223146af
deps: massive refactor. 2016-10-02 23:24:11 -07:00
Christopher Jeffrey
f96ee525f5
http: refactor deps and tests. 2016-10-02 23:24:11 -07:00
Christopher Jeffrey
960393a53f
wallet: use separate branch for nested addrs. 2016-10-02 23:24:10 -07:00
Christopher Jeffrey
f297591193
http: minor. 2016-10-02 23:24:08 -07:00
Christopher Jeffrey
60eec9e0a0
http: fix subtractFee validation. 2016-10-02 23:24:08 -07:00
Christopher Jeffrey
f0a37f3e5e
refactor: replace callback comments. 2016-09-23 01:05:06 -07:00
Christopher Jeffrey
9bbd8de8bf
refactor: remote rescanning. misc fixes. 2016-09-23 00:42:16 -07:00
Christopher Jeffrey
8c11a2aa3f
generators: refactor http. 2016-09-22 01:29:48 -07:00
Christopher Jeffrey
60d162eb20
refactor: s/spawn.co/co/g 2016-09-21 22:59:48 -07:00
Christopher Jeffrey
ec0d50d506
refactor: improve generator perf. 2016-09-21 22:58:27 -07:00
Christopher Jeffrey
2899219033
refactor: cleanup. 2016-09-21 11:03:48 -07:00
Christopher Jeffrey
df23810b0c
refactor: fix cli. finish rpc. 2016-09-21 10:46:07 -07:00
Christopher Jeffrey
d78151d3d3
refactor: promises. 2016-09-20 15:28:14 -07:00
Christopher Jeffrey
5e18dddd37
http: make http api safe for spv. 2016-09-17 19:11:08 -07:00
Christopher Jeffrey
666a7b7999
rpc: getwork longpolling and other improvements. 2016-09-17 18:26:54 -07:00
Christopher Jeffrey
6598245486
rpc: improve mining. 2016-09-17 06:24:58 -07:00
Christopher Jeffrey
9dd863d9f2
random: require random from crypto. 2016-09-15 13:36:18 -07:00
Christopher Jeffrey
19f61773f7
http: fix typo in validation. 2016-09-14 15:54:02 -07:00
Christopher Jeffrey
c9ebe29e39
crypto: do not expose crypto module from utils. 2016-09-06 15:15:36 -07:00
Christopher Jeffrey
c43c84cde7
mtx: cleanup coin selector. 2016-09-06 00:47:41 -07:00