Commit Graph

456 Commits

Author SHA1 Message Date
Christopher Jeffrey
73b84cc1a7
lint: remove useless parens. 2017-08-27 16:50:23 -07:00
Christopher Jeffrey
1b0ae3ca79
refactor: use defineProperty instead of __define[GS]etter__. 2017-08-20 15:10:58 -07:00
Christopher Jeffrey
8f9f5dfc06
pool: fix map.clear call in stopSync. fixes #274. 2017-08-17 19:51:54 -07:00
Christopher Jeffrey
8f73ec53e9
refactor: use assert.strictEqual instead of assert.equal. 2017-08-09 15:40:39 -07:00
Christopher Jeffrey
15adc17dea
bip150: stricter parsing for known-peers and auth-peers. 2017-08-09 15:29:06 -07:00
Christopher Jeffrey
33c32d32c1
bip152: minor. add assertion. 2017-08-08 14:31:58 -07:00
Christopher Jeffrey
3bc47f5a3c
lint: enforce function names. 2017-08-06 21:36:48 -07:00
Christopher Jeffrey
62152a1005
util: remove util.inherits. inline inheritance. 2017-08-06 19:45:10 -07:00
Christopher Jeffrey
4ce070fad4
validation: use stricter validation for ints. 2017-08-06 14:43:22 -07:00
Christopher Jeffrey
cc1462f697
utils/util: reorganize functions. 2017-08-06 04:00:08 -07:00
Christopher Jeffrey
a290e6880d
encoding: rename read int methods to readIx. 2017-08-06 03:27:06 -07:00
Christopher Jeffrey
1df577cb74
validation: refactor. 2017-08-06 03:23:37 -07:00
Christopher Jeffrey
bb6110c609
chain/pool: make checkpoints option permanent. 2017-08-02 15:23:10 -07:00
Christopher Jeffrey
ee7ad9dc86
chain: determine sync state using last checkpoint's chainwork. 2017-08-01 15:17:55 -07:00
Christopher Jeffrey
1a4268544f
chain: better checkpoint handling. 2017-08-01 01:38:04 -07:00
Christopher Jeffrey
e38da91065
lint: no extra parens around !await. 2017-07-31 18:21:03 -07:00
Christopher Jeffrey
88ef28d837
lint: no implicit casting. 2017-07-31 18:21:03 -07:00
Christopher Jeffrey
6ba8eb9951
eslint: more style rules. 2017-07-31 18:21:03 -07:00
Christopher Jeffrey
ddda6c9dbd
dns: minor. 2017-07-31 18:21:03 -07:00
Christopher Jeffrey
5eb6620431
lint: consistent return values. 2017-07-31 18:21:03 -07:00
Christopher Jeffrey
5e73e51177
lint: fix function names. 2017-07-31 18:21:03 -07:00
Christopher Jeffrey
55cf07a871
refactor: style for const/let and returns. 2017-07-31 18:21:02 -07:00
Christopher Jeffrey
6f3988e861
refactor: use const as much as possible. 2017-07-31 18:21:02 -07:00
Christopher Jeffrey
9cc5c393b4
eslint: use prefer-const. 2017-07-31 18:21:02 -07:00
Christopher Jeffrey
87d664784c
refactor: s/ts/time. s/ps/mtime. 2017-07-25 14:23:10 -07:00
Christopher Jeffrey
7eefb773be
refactor: use maps and sets wherever possible. 2017-07-25 05:15:47 -07:00
Christopher Jeffrey
cd795cf96f
block: remove addTX. 2017-07-25 01:53:58 -07:00
Christopher Jeffrey
8c212d797f
block: rename some more methods. refactor bip152 ptx vector. 2017-07-25 01:16:25 -07:00
Christopher Jeffrey
7ed36ec2ba
block: rename "abbr" methods to "head". 2017-07-25 00:08:28 -07:00
Christopher Jeffrey
23397dd753
refactor: change for..of loop usage. 2017-07-24 19:45:46 -07:00
Christopher Jeffrey
9743e8e314
bip150: use map objects. 2017-07-24 19:37:47 -07:00
Christopher Jeffrey
340d4e3272
bip152: minor. 2017-07-23 22:17:55 -07:00
Christopher Jeffrey
6c901a19fa
bip152: add extra limit to avoid hashdos. 2017-07-23 21:22:32 -07:00
Christopher Jeffrey
69b862df42
bip152: minor refactor. 2017-07-23 20:56:27 -07:00
Christopher Jeffrey
906a6bf13a
http/tcp: remove reject listener on success. 2017-07-23 08:18:06 -07:00
Christopher Jeffrey
c347add2fd
pool: refactor assertion. 2017-07-23 08:17:43 -07:00
Christopher Jeffrey (JJ)
63423c7748 Merge pull request #245 from nodar-chkuaselidze/fix/config-bip150
Fix Pool bip150 assert
2017-07-23 07:03:10 -07:00
Node
361ffd2705 Fix bip150 and bip151 configuration parsing 2017-07-20 16:44:41 +04:00
Mokhtar Naamani
c9f736d33f net/http: correctly reject promise return by listen() 2017-07-19 00:21:35 +03:00
Christopher Jeffrey
98c975de8b
pool: fix bad orphan event handling. 2017-07-17 22:39:11 -07:00
Christopher Jeffrey
37da047a34
digest: avoid extra allocations. 2017-07-17 14:26:43 -07:00
Christopher Jeffrey
278265536e
external: minor. 2017-07-17 14:26:41 -07:00
Christopher Jeffrey
647b6909c6
dns: add custom timeout. 2017-07-17 14:26:41 -07:00
Christopher Jeffrey
972d98e0db
hostlist: es6 fixes. 2017-07-17 14:26:39 -07:00
Christopher Jeffrey
1b94d670c2
upnp: minor. 2017-07-17 14:26:39 -07:00
Christopher Jeffrey
3f3516ca18
coinview: remove old serialization methods. 2017-07-17 14:26:39 -07:00
Christopher Jeffrey
15d0b88308
bip152/merkleblock: use Map objects. 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