Christopher Jeffrey
|
424370bc1f
|
utils: stop using asyncobject.
|
2018-03-29 21:56:47 -07:00 |
|
Christopher Jeffrey
|
cbef19047a
|
bcoin: cleanup. fix bsock calls.
|
2018-03-29 21:56:47 -07:00 |
|
Christopher Jeffrey
|
401829db5a
|
node: start using blgr and bcfg.
|
2018-03-29 21:56:47 -07:00 |
|
Christopher Jeffrey
|
77403b0a3e
|
utils: start using binet.
|
2018-03-29 21:56:46 -07:00 |
|
Christopher Jeffrey
|
d4685e6e6c
|
utils: start using bstr.
|
2018-03-29 21:56:46 -07:00 |
|
Christopher Jeffrey
|
41925d495c
|
utils: start using bbuf.
|
2018-03-29 21:56:46 -07:00 |
|
Christopher Jeffrey
|
e92b1f4cec
|
utils: start using bfilter.
|
2018-03-29 21:56:46 -07:00 |
|
Christopher Jeffrey
|
3a722481f9
|
utils: use bfile over utils/fs.
|
2018-03-29 21:56:46 -07:00 |
|
Christopher Jeffrey
|
658d3db928
|
encoding: refactor. remove bip70.
|
2018-03-29 21:56:46 -07:00 |
|
Christopher Jeffrey
|
d0ed214067
|
bcoin: remove dependence on util.js.
|
2018-03-29 21:56:45 -07:00 |
|
Christopher Jeffrey
|
636d66a5c7
|
bcoin: use bcrypto. remove crypto module.
|
2018-03-29 21:56:45 -07:00 |
|
Christopher Jeffrey
|
c84afad1f6
|
http: use bsock instead of socket.io.
|
2018-03-29 21:56:45 -07:00 |
|
Christopher Jeffrey
|
649f8cc171
|
http: stop using socket.io.
|
2018-03-29 21:56:44 -07:00 |
|
Christopher Jeffrey
|
9a8106f4f7
|
refactor: avoid using utils in crypto and vice versa.
|
2018-03-29 21:56:44 -07:00 |
|
Christopher Jeffrey
|
459a9f25f4
|
chain/mempool: optimize coinview handling. fix mempool orphan edge case.
|
2017-09-26 13:07:01 -07:00 |
|
Christopher Jeffrey
|
17e473fda5
|
upnp: minor.
|
2017-09-19 17:52:19 -07:00 |
|
Christopher Jeffrey
|
5f82c0d8c2
|
chain: alias all db methods. remove chainentry spaghetti code.
|
2017-09-06 10:20:40 -07:00 |
|
Christopher Jeffrey
|
b81643473e
|
encoding: refactor int64 handling.
|
2017-09-05 21:17:58 -07:00 |
|
Christopher Jeffrey
|
a2c3e70f09
|
bip151: use buffer pool.
|
2017-09-04 13:12:10 -07:00 |
|
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 |
|
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
|
78d62c73b8
|
refactor: start using multiple return values.
|
2017-07-17 14:26:37 -07:00 |
|
Christopher Jeffrey
|
aa05bb5df7
|
refactor: use es6 maps for everything.
|
2017-07-17 14:26:37 -07:00 |
|
Christopher Jeffrey
|
275580f4ac
|
refactor: fix linting for empty modules.
|
2017-06-28 13:04:04 -07:00 |
|
Christopher Jeffrey
|
24cd81a1bd
|
webpack: use -browser convention instead of aliases.
|
2017-06-28 12:45:38 -07:00 |
|
Christopher Jeffrey
|
be1ec1c22d
|
utils: refactor.
|
2017-06-27 09:28:37 -07:00 |
|
Christopher Jeffrey
|
62e7f97359
|
refactor: module index.
|
2017-06-27 09:28:18 -07:00 |
|
Christopher Jeffrey
|
d4cc22e1c5
|
refactor: crypto.
|
2017-06-27 07:27:53 -07:00 |
|
Christopher Jeffrey
|
fa3e98b274
|
crypto: rename ec to secp256k1.
|
2017-06-27 02:48:19 -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
|
722118df6c
|
external/gcs: docs.
|
2017-06-26 13:36:01 -07:00 |
|
Christopher Jeffrey
|
edd095bfae
|
pool: refactor http ip discovery.
|
2017-06-26 04:27:21 -07:00 |
|
Christopher Jeffrey
|
b65d2dcae7
|
peer: allong pong msg to bypass lock.
|
2017-06-26 04:06:55 -07:00 |
|
Christopher Jeffrey
|
724c9f66e7
|
peer: remove co.wait call.
|
2017-06-26 03:49:50 -07:00 |
|
Christopher Jeffrey
|
d3b24da2e1
|
lint: require strict mode.
|
2017-06-24 05:11:54 -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
|
015fb8b0b6
|
siphash: return objects instead of buffers.
|
2017-06-16 14:30:25 -07:00 |
|
Christopher Jeffrey
|
a3c7a49c80
|
refactor: replace util.equal with Buffer#equals.
|
2017-06-12 03:00:08 -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
|
46b34677f1
|
address/wallet: refactor usage of Address.getHash.
|
2017-05-25 23:27:37 -07:00 |
|
Christopher Jeffrey
|
75c279169c
|
peer: comments.
|
2017-05-19 22:05:46 -07:00 |
|
Christopher Jeffrey
|
0ceca23cb5
|
chain/mempool: store peer id and punish invalid orphans.
|
2017-05-19 17:02:06 -07:00 |
|
Christopher Jeffrey
|
0b13452df1
|
net: implement peer ids.
|
2017-05-15 03:53:30 -07:00 |
|
Christopher Jeffrey
|
e0c2eb122b
|
rpc: improve some network rpc calls.
|
2017-05-13 03:51:01 -07:00 |
|
Christopher Jeffrey (JJ)
|
a3b0d10c30
|
Merge pull request #169 from dionyziz/fix_promise_docs
Pool.hasTX does not return promise
|
2017-05-12 15:47:31 -07:00 |
|
Christopher Jeffrey
|
a1d0948f2e
|
net: add --only option. fixes #210.
|
2017-05-12 12:02:55 -07:00 |
|
Dionysis Zindros
|
6d274a1988
|
Pool.hasTX does not return promise
|
2017-03-18 19:20:28 +02:00 |
|
Christopher Jeffrey
|
f778a8c1b5
|
bip152: do not use Block.totalTX.
|
2017-03-16 15:46:16 -07:00 |
|