Christopher Jeffrey
|
6154ca8b4c
|
workers/build: require only one worker file.
|
2017-07-17 14:26:41 -07:00 |
|
Christopher Jeffrey
|
4ebe557807
|
workers: make worker files configurable.
|
2017-07-17 14:26:40 -07:00 |
|
Christopher Jeffrey
|
8f295a376d
|
workers: refactor exiting.
|
2017-07-17 14:26:40 -07:00 |
|
Christopher Jeffrey
|
db0567fc01
|
node/browser: fix browser build.
|
2017-07-17 14:26:39 -07:00 |
|
Christopher Jeffrey
|
a071a58380
|
config: fix parseArg.
|
2017-07-17 14:26:39 -07:00 |
|
Christopher Jeffrey
|
4f68d4cde0
|
node: minor.
|
2017-07-17 14:26:39 -07:00 |
|
Christopher Jeffrey
|
5e78cf4998
|
node: fix close bug.
|
2017-07-17 14:26:39 -07:00 |
|
Christopher Jeffrey
|
296e65d0fd
|
refactor: use es6 template strings everywhere.
|
2017-07-17 14:26:39 -07:00 |
|
Christopher Jeffrey
|
3af014119a
|
refactor: switch to template strings for errors.
|
2017-07-17 14:26:38 -07:00 |
|
Christopher Jeffrey
|
10672784e5
|
refactor: rename tx functions. more es6 features.
|
2017-07-17 14:26:38 -07:00 |
|
Christopher Jeffrey
|
fdb668aea3
|
refactor: use rest args where possible.
|
2017-07-17 14:26:38 -07:00 |
|
Christopher Jeffrey
|
0ea25b0c1c
|
wallet: move nodeclient.
|
2017-07-17 14:26:38 -07:00 |
|
Christopher Jeffrey
|
074c065262
|
node: automatically bind to errors for plugins.
|
2017-07-17 14:26:38 -07:00 |
|
Christopher Jeffrey
|
8c7279518f
|
refactor: de-globalize workerpool.
|
2017-07-17 14:26:38 -07:00 |
|
Christopher Jeffrey
|
c53f4cf89e
|
refactor: switch to const/let.
|
2017-07-17 14:26:37 -07:00 |
|
Christopher Jeffrey
|
e00472891d
|
refactor: start using for...of.
|
2017-07-17 14:26:37 -07:00 |
|
Christopher Jeffrey
|
3763b5309a
|
node: allow non-string plugins in config.
|
2017-06-28 02:47:05 -07:00 |
|
Christopher Jeffrey
|
62e7f97359
|
refactor: module index.
|
2017-06-27 09:28:18 -07:00 |
|
Christopher Jeffrey
|
63e6a97de3
|
refactor: lint.
|
2017-06-27 03:54:14 -07:00 |
|
Christopher Jeffrey
|
fa3e98b274
|
crypto: rename ec to secp256k1.
|
2017-06-27 02:48:19 -07:00 |
|
Christopher Jeffrey
|
f6fb3ba3b5
|
config: fix browser build.
|
2017-06-27 02:01:11 -07:00 |
|
Christopher Jeffrey
|
b26b82ab97
|
util: start using path module. remove some functions.
|
2017-06-27 01:24:27 -07:00 |
|
Christopher Jeffrey
|
8358fa59c6
|
util: drop all homemade polyfills.
|
2017-06-27 00:36:13 -07:00 |
|
Christopher Jeffrey
|
8b2a0ce446
|
util: do not use util.global.
|
2017-06-26 23:07:06 -07:00 |
|
Christopher Jeffrey
|
2ef4d137e6
|
pkg: switch from jshint to eslint.
|
2017-06-24 04:45:46 -07:00 |
|
Christopher Jeffrey
|
84eccc29fa
|
refactor: switch to async/await. see #227.
|
2017-06-24 02:39:06 -07:00 |
|
Christopher Jeffrey
|
182784c8e0
|
utils: remove usage of isBrowser. some refactoring.
|
2017-06-15 22:28:06 -07:00 |
|
Christopher Jeffrey
|
28cd43045d
|
refactor: avoid using new Buffer() due to its new perf implications.
|
2017-05-30 21:11:10 -07:00 |
|
Christopher Jeffrey
|
7728a00470
|
node: fix entry cache option.
|
2017-05-19 21:05:07 -07:00 |
|
Christopher Jeffrey
|
f0bc6d5925
|
rpc: implement pruneblockchain.
|
2017-05-14 15:24:32 -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
|
a1d0948f2e
|
net: add --only option. fixes #210.
|
2017-05-12 12:02:55 -07:00 |
|
Christopher Jeffrey
|
993a27525e
|
config: expand home directory in config path.
|
2017-05-12 11:44:33 -07:00 |
|
Christopher Jeffrey
|
d3cfad0c64
|
spvnode: fix config inconsistency. fixes #195.
|
2017-04-30 07:28:16 -07:00 |
|
Christopher Jeffrey
|
6182df0442
|
config: fix mempool size and entry cache.
|
2017-04-12 08:23:19 -07:00 |
|
Christopher Jeffrey
|
a630d23a97
|
config: fix mb param.
|
2017-03-30 02:44:01 -07:00 |
|
Christopher Jeffrey
|
c0e4c169ba
|
http: more tests.
|
2017-03-15 20:38:04 -07:00 |
|
Christopher Jeffrey
|
335a0b1cd1
|
node: do not modify globals.
|
2017-03-15 18:43:52 -07:00 |
|
Christopher Jeffrey
|
93c190d646
|
node/cli: more config options.
|
2017-03-15 16:25:57 -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
|
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
|
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
|
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
|
9e479483f5
|
minor: lint.
|
2017-03-14 06:10:37 -07:00 |
|
Christopher Jeffrey
|
a266391f1b
|
logger: truncate log files.
|
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
|
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
|
81b565fc85
|
logger: add 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
|
48066f1634
|
http: misc fixes.
|
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
|
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
|
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 |
|
Christopher Jeffrey
|
d0628e990d
|
miner: add "preverify" option.
|
2017-03-07 20:00:33 -08:00 |
|
Christopher Jeffrey
|
6a229d597e
|
logger: fix logger error handling.
|
2017-03-07 18:56:04 -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
|
3c4bee11f2
|
chain: add serial asynchronous "hooks".
|
2017-03-05 15:06:26 -08:00 |
|
Christopher Jeffrey
|
e52eebd652
|
fullnode: fix persistent mempool block addition/removal.
|
2017-03-05 13:01:30 -08:00 |
|
Christopher Jeffrey
|
47c1955e2c
|
mempool: rename hasTX to hasEntry.
|
2017-03-05 10:02:34 -08:00 |
|
Christopher Jeffrey
|
a11344db0e
|
mempool: refactor fee estimation.
|
2017-03-01 09:53:10 -08:00 |
|
Christopher Jeffrey
|
bffc225179
|
chain/mempool/node: expose getSpentView.
|
2017-02-28 22:43:44 -08:00 |
|
Christopher Jeffrey
|
3abc47c292
|
fullnode: minor.
|
2017-02-28 17:15:13 -08:00 |
|
Christopher Jeffrey
|
73210b3ed4
|
mempool: preliminary work for persistent fees.
|
2017-02-28 17:09:51 -08:00 |
|
Christopher Jeffrey
|
e7f850b4ba
|
fees: refactor estimator.
|
2017-02-28 16:57:45 -08:00 |
|
Christopher Jeffrey
|
aa869e0b6a
|
fullnode: open http after walletdb.
|
2017-02-28 14:10:45 -08:00 |
|
Christopher Jeffrey
|
21bc517f8b
|
node: only add wallet addr if no others are available.
|
2017-02-28 14:05:46 -08:00 |
|
Christopher Jeffrey
|
7bd89b35c3
|
mempool: persist to disk.
|
2017-02-28 12:59:19 -08:00 |
|
Christopher Jeffrey
|
3ec781ee60
|
miner: expose max-block-weight config option.
|
2017-02-25 22:25:34 -08:00 |
|
Christopher Jeffrey
|
182b25f9ab
|
fullnode: document events.
|
2017-02-07 14:18:39 -08:00 |
|
Christopher Jeffrey
|
b0b7745039
|
fullnode: broadcast in selfish mode.
|
2017-02-07 14:15:33 -08:00 |
|
Christopher Jeffrey
|
1ec49be808
|
config: expose mempool max size.
|
2017-02-07 14:02:54 -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
|
0f8fd1dc77
|
minor: lint.
|
2017-01-28 19:09:12 -08:00 |
|
Christopher Jeffrey
|
17742434a5
|
logger: handle mkdir error.
|
2017-01-28 19:06:56 -08:00 |
|
Christopher Jeffrey
|
e52130ef29
|
config: fix path handling.
|
2017-01-26 03:00:14 -08:00 |
|
Christopher Jeffrey
|
0a1c0d1890
|
config: refactor config parsing.
|
2017-01-26 03:00:13 -08:00 |
|
Christopher Jeffrey
|
5073c1508f
|
net: tor support for outgoing conns.
|
2017-01-24 18:25:44 -08:00 |
|
Christopher Jeffrey
|
2a6ee729a0
|
pool: disable bip37 by default.
|
2017-01-23 15:06:20 -08:00 |
|
Christopher Jeffrey
|
c6b439f21c
|
chain/pool: remove witness option.
|
2017-01-23 14:51:40 -08:00 |
|
Christopher Jeffrey
|
1e9ebcc0d1
|
config: cleanup.
|
2017-01-23 13:44:11 -08:00 |
|
Christopher Jeffrey
|
e7413aabb7
|
chain/pool: disable checkpoints on checkpoint failure. see #121.
|
2017-01-23 13:25:01 -08:00 |
|
Christopher Jeffrey
|
cbb45db801
|
config: rename useCheckpoints. allow implicit noAuth on localhost.
|
2017-01-23 03:19:19 -08:00 |
|
Christopher Jeffrey
|
86b7292c4a
|
node: enable workers by default. throw warnings if native bindings were not built.
|
2017-01-22 20:39:42 -08:00 |
|
Christopher Jeffrey
|
25899827fd
|
net: remove noDiscovery. exempt bip150 packets from lock.
|
2017-01-22 14:48:03 -08:00 |
|
Christopher Jeffrey
|
51a25bf15f
|
net/nodeclient: always resend bloom filter. see #119.
|
2017-01-21 15:20:03 -08:00 |
|
Christopher Jeffrey
|
b212eed282
|
net: handle public ip and port better.
|
2017-01-21 13:56:41 -08:00 |
|
Christopher Jeffrey
|
be4145e163
|
pool/peer: fixes. cleanup.
|
2017-01-21 13:03:53 -08:00 |
|
Christopher Jeffrey
|
26f6185097
|
spvnode: fix events.
|
2017-01-21 03:48:57 -08:00 |
|
Christopher Jeffrey
|
b6593adf75
|
net: remove alert system.
|
2017-01-19 04:41:58 -08:00 |
|
Jason Dreyzehner
|
93e50dab3c
|
spvnode: fix incorrect function call.
|
2017-01-18 19:13:54 -05:00 |
|
Christopher Jeffrey
|
4254b4359e
|
config: smaller fast defaults.
|
2017-01-16 19:37:05 -08:00 |
|
Christopher Jeffrey
|
48399bb0cb
|
logger: fix stream.
|
2017-01-16 14:07:56 -08:00 |
|
Christopher Jeffrey
|
f2d092f23c
|
net: add priority nodes.
|
2017-01-16 04:30:10 -08:00 |
|
Christopher Jeffrey
|
858081626f
|
logger: fix error handling.
|
2017-01-15 15:18:02 -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
|
9dbfaf3127
|
pool: rename ignoreDiscovery.
|
2017-01-14 09:11:07 -08:00 |
|
Christopher Jeffrey
|
f0e7aa9d82
|
net: handle server differently.
|
2017-01-14 07:54:07 -08:00 |
|
Christopher Jeffrey
|
e8cc724488
|
node/net: refactor node bootstrapping.
|
2017-01-14 07:21:16 -08:00 |
|
Christopher Jeffrey
|
7396e08f16
|
config: minor.
|
2017-01-12 12:41:23 -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
|
5caf6210b9
|
refactor: move constants around.
|
2017-01-06 09:57:55 -08:00 |
|
Christopher Jeffrey
|
bb11cfc021
|
spvnode: do not attempt to insert wdb txs twice.
|
2016-12-22 03:55:04 -08:00 |
|
Christopher Jeffrey
|
fa167d9a8c
|
config: querystring parsing.
|
2016-12-19 17:27:58 -08:00 |
|
Christopher Jeffrey
|
0d5811719c
|
config: add network alias.
|
2016-12-19 17:00:29 -08:00 |
|
Christopher Jeffrey
|
82d1345311
|
net: refactor inv type handling.
|
2016-12-18 01:44:04 -08:00 |
|
Christopher Jeffrey
|
514e735a96
|
net: refactor reject msg. broadcast orphans.
|
2016-12-17 14:08:43 -08:00 |
|
Christopher Jeffrey
|
2d831ca5bd
|
node: minor.
|
2016-12-17 13:08:02 -08:00 |
|
Christopher Jeffrey
|
dcfc19408f
|
node: minor fixes.
|
2016-12-17 00:18:28 -08:00 |
|
Christopher Jeffrey
|
4a8c4dee57
|
node: fix event race conditions.
|
2016-12-14 12:03:47 -08:00 |
|
Christopher Jeffrey
|
59645ac3ec
|
refactor: remove extra properties from tx and block.
|
2016-12-11 05:35:31 -08:00 |
|
Christopher Jeffrey
|
12b3274d33
|
refactor: pass coin viewpoints for every function requiring inputs.
|
2016-12-09 07:15:35 -08:00 |
|
Christopher Jeffrey
|
d4c2331a11
|
mempool/chain: move some methods around.
|
2016-12-08 15:51:25 -08:00 |
|
Christopher Jeffrey
|
c300df7340
|
mempool: refactor.
|
2016-12-07 19:11:59 -08:00 |
|
Christopher Jeffrey
|
01535c55d7
|
mempool: remove confidence.
|
2016-12-05 11:35:33 -08:00 |
|
Christopher Jeffrey
|
72b68532e3
|
ldb: add db cache-size option.
|
2016-12-04 13:59:08 -08:00 |
|
Christopher Jeffrey
|
28cc714bad
|
node: fix fast option.
|
2016-12-04 03:25:09 -08:00 |
|
Christopher Jeffrey
|
ded3bc34f3
|
refactor: start moving away from getters.
|
2016-11-30 21:31:52 -08:00 |
|
Christopher Jeffrey
|
e7bcbbb976
|
chain: drop newCoins option.
|
2016-11-29 21:01:48 -08:00 |
|
Christopher Jeffrey
|
dcb376f26d
|
chain: add newCoins option.
|
2016-11-29 20:36:23 -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
|
6520cf32e0
|
node: less error spam in logs.
|
2016-11-27 23:54:18 -08:00 |
|
Christopher Jeffrey
|
c5a5d4498a
|
chain/wallet: handle caches better.
|
2016-11-26 01:12:38 -08:00 |
|
Christopher Jeffrey
|
3e37961927
|
mempool: add reset method.
|
2016-11-26 00:22:46 -08:00 |
|
Christopher Jeffrey
|
c0fd199f2d
|
chain: refactor and optimize.
|
2016-11-25 19:34:25 -08:00 |
|
Christopher Jeffrey
|
0bf9828f03
|
wallet: add clients.
|
2016-11-21 18:05:29 -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
|
9353a86e14
|
modules: blockchain technology (tm).
|
2016-11-19 11:24:01 -08:00 |
|
Christopher Jeffrey
|
b754973511
|
utils/btc: rename.
|
2016-11-19 10:45:31 -08:00 |
|
Christopher Jeffrey
|
098465c171
|
miner: rename.
|
2016-11-19 07:10:49 -08:00 |
|
Christopher Jeffrey
|
7f3c265085
|
net: rename timedata.
|
2016-11-19 06:53:59 -08:00 |
|
Christopher Jeffrey
|
3014229d9a
|
workers: rename.
|
2016-11-19 06:48:55 -08:00 |
|
Christopher Jeffrey
|
a1ec1bfff1
|
modules: refactor indexes.
|
2016-11-19 06:36:57 -08:00 |
|
Christopher Jeffrey
|
67a00bfe50
|
modules: remove all conditional requires. see #105.
|
2016-11-18 23:05:04 -08:00 |
|
Christopher Jeffrey
|
bc00697adb
|
mempool/miner: mining and mempool refactor.
|
2016-11-18 06:35:20 -08:00 |
|