Commit Graph

193 Commits

Author SHA1 Message Date
Christopher Jeffrey
ca4e938a75
mempool: fix orphan resolution edge case. 2017-09-26 20:22:54 -07:00
Christopher Jeffrey
1aa78e2248
mempool: sanitize after reorg. 2017-09-26 17:20:16 -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
eb5469088c
chain: refactor checkpoints handling. other misc refactoring. 2017-09-06 14:17:39 -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
1df577cb74
validation: refactor. 2017-08-06 03:23:37 -07:00
Christopher Jeffrey
ae1c040cd7
mempool: minor verification refactor. 2017-08-04 14:14:15 -07:00
Christopher Jeffrey
e38da91065
lint: no extra parens around !await. 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
5602001348
coinview: fixes. 2017-07-31 18:20:48 -07:00
Christopher Jeffrey
a1601b8f3a
chaindb: alter hasCoins. 2017-07-31 18:20:48 -07:00
Christopher Jeffrey
492c05c378
coinview: refactor api. 2017-07-31 18:20:48 -07:00
Christopher Jeffrey
fbb2500281
layout: aggressive asserts. 2017-07-31 18:20:47 -07:00
Christopher Jeffrey
a1af3ab980
chaindb: switch to pertxout. 2017-07-31 18:20:47 -07:00
Christopher Jeffrey
87d664784c
refactor: s/ts/time. s/ps/mtime. 2017-07-25 14:23:10 -07:00
Christopher Jeffrey
02e4dda012
refactor: cleanup for..of loops. 2017-07-25 11:39:12 -07:00
Christopher Jeffrey
7eefb773be
refactor: use maps and sets wherever possible. 2017-07-25 05:15:47 -07:00
Christopher Jeffrey
5b62a87a21
mempool: fix coinindex. 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
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
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
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
d9342cd81c
util: rely on polyfill for nextTick and typed arrays. 2017-06-26 23:31:32 -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
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
7d61cda3aa
chain/mempool: more aggressive asserts. 2017-05-21 18:40:43 -07:00
Christopher Jeffrey
6b5cba635a
mempool: fix handleOrphans. 2017-05-21 14:45:53 -07:00
Christopher Jeffrey
0ceca23cb5
chain/mempool: store peer id and punish invalid orphans. 2017-05-19 17:02:06 -07:00
pablovidal85
fba9b46d25 mempool: import indexAddress option 2017-04-22 00:37:47 +02:00
Christopher Jeffrey
9e479483f5
minor: lint. 2017-03-14 06:10:37 -07:00
Christopher Jeffrey
68bba8621e
rpc/mempool: implement prioritisetransaction. 2017-03-14 06:10:37 -07:00
Christopher Jeffrey
806d8c824a
fees: add logger context. 2017-03-14 06:10:36 -07:00
Christopher Jeffrey
eb601eece6
node: start using logger contexts. 2017-03-14 06:10:35 -07:00
Christopher Jeffrey
a81733a720
node/config: refactor config and options. 2017-03-14 06:09:29 -07:00
Christopher Jeffrey
545eb77cdb
mempool: update serialization version. 2017-03-05 17:14:03 -08:00
Christopher Jeffrey
b53162e12d
mempool: fix getDescendants and getAncestors. 2017-03-05 16:44:46 -08:00
Christopher Jeffrey
bf4c890b88
mempool: minor. 2017-03-05 16:12:52 -08:00