Commit Graph

172 Commits

Author SHA1 Message Date
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
Christopher Jeffrey
e52eebd652
fullnode: fix persistent mempool block addition/removal. 2017-03-05 13:01:30 -08:00
Christopher Jeffrey
c2b8dc37c7
mempool: handle trimming differently. 2017-03-05 11:43:28 -08:00
Christopher Jeffrey
47c1955e2c
mempool: rename hasTX to hasEntry. 2017-03-05 10:02:34 -08:00
Christopher Jeffrey
210ce4c767
mempool: evict by lowest fee rate. 2017-03-05 02:03:14 -08:00
Christopher Jeffrey
46a646aebd
mempool: refactor descendants handling. 2017-03-01 17:45:51 -08:00
Christopher Jeffrey
8977e99906
mempool: extra sanity checking for mining. 2017-03-01 15:19:55 -08:00
Christopher Jeffrey
77371fc501
mempool: fix fee estimator inject() method. 2017-03-01 15:03:05 -08:00
Christopher Jeffrey
34cb226000
mempool: enable persistent fees. 2017-03-01 11:01:41 -08:00
Christopher Jeffrey
a11344db0e
mempool: refactor fee estimation. 2017-03-01 09:53:10 -08:00
Christopher Jeffrey
23ca2cc65f
mempool: minor. 2017-03-01 09:23:21 -08:00
Christopher Jeffrey
38cfdbf8f9
mempool: drop old getCoinView. 2017-03-01 07:26:20 -08:00
Christopher Jeffrey
3988d2766d
mempool: add double spend events. 2017-02-28 23:19:38 -08:00
Christopher Jeffrey
bffc225179
chain/mempool/node: expose getSpentView. 2017-02-28 22:43:44 -08:00
Christopher Jeffrey
8cb2c4a1a0
mempool: refactor addr indexing. 2017-02-28 21:49:06 -08:00
Christopher Jeffrey
d92d6487b5
mempool: move memUsage method. 2017-02-28 20:55:50 -08:00
Christopher Jeffrey
653163929e
mempool: correct memusage numbers. 2017-02-28 20:48:51 -08:00
Christopher Jeffrey
92d896c729
mempool: refactor. 2017-02-28 17:21:16 -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
42a2e61d7f
mempool: fix getDepends. 2017-02-28 15:22:35 -08:00
Christopher Jeffrey
e80c98d4e8
mempool: load descFee/descSize correctly. 2017-02-28 13:35:13 -08:00