Commit Graph

79 Commits

Author SHA1 Message Date
Christopher Jeffrey
a45e683eb2
bcoin: switch to bsert for everything. 2018-08-10 16:23:46 -07:00
Christopher Jeffrey
b92839c82a
bcoin: use buffer-map. see #533. 2018-08-10 16:23:46 -07:00
Christopher Jeffrey
c388498ab0
pkg: update deps. 2018-03-29 21:56:53 -07:00
Christopher Jeffrey
163e89fc29
bcoin: lint. 2018-03-29 21:56:49 -07:00
Christopher Jeffrey
8be995bd78
miner: classify. 2018-03-29 21:56:49 -07:00
Christopher Jeffrey
daa55a05bc
primitives: classify primitives. 2018-03-29 21:56:48 -07:00
Christopher Jeffrey
424370bc1f
utils: stop using asyncobject. 2018-03-29 21:56:47 -07:00
Christopher Jeffrey
d0ed214067
bcoin: remove dependence on util.js. 2018-03-29 21:56:45 -07:00
Christopher Jeffrey
d78df4b79c
miner: minor. 2017-09-06 14:21:23 -07:00
Christopher Jeffrey
5f82c0d8c2
chain: alias all db methods. remove chainentry spaghetti code. 2017-09-06 10:20:40 -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
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
Node
d809f66bf8
miner: pass workers option to miner 2017-07-27 23:42:22 +04: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
37da047a34
digest: avoid extra allocations. 2017-07-17 14:26:43 -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
aa05bb5df7
refactor: use es6 maps for everything. 2017-07-17 14:26:37 -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
0d844be588
rpc: tests and fixes. 2017-03-15 20:21:24 -07:00
Christopher Jeffrey
ef07c52fc6
miner: use next deployment state for flags. 2017-03-14 06:10:36 -07:00
Christopher Jeffrey
a266391f1b
logger: truncate log files. 2017-03-14 06:10:36 -07:00
Christopher Jeffrey
b372715c88
miner: update curtime. see #160. 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
b104e664a7
cpuminer: improve start/stop handling. 2017-03-14 06:10:35 -07:00
Christopher Jeffrey
bfd7cc9266
miner/template: refactor options handling. 2017-03-14 06:10:35 -07:00
Christopher Jeffrey
945fa381c5
refactor: mining. 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
d0628e990d
miner: add "preverify" option. 2017-03-07 20:00:33 -08:00
Christopher Jeffrey
47c1955e2c
mempool: rename hasTX to hasEntry. 2017-03-05 10:02:34 -08:00
Christopher Jeffrey
beefcfba67
chain: return null on orphan blocks. 2017-03-04 15:37:27 -08:00
Christopher Jeffrey
8977e99906
mempool: extra sanity checking for mining. 2017-03-01 15:19:55 -08:00
Christopher Jeffrey
e31ddaa61a
mining: remove mod size from priority. better free calculation. 2017-02-27 16:58:44 -08:00
Christopher Jeffrey
e577228944
miner: improve rate comparison. 2017-02-27 16:33:45 -08:00
Christopher Jeffrey
c02f19a288
miner: better block timestamp creation. 2017-02-27 09:12:56 -08:00
Christopher Jeffrey
369ef75840
miner: move logs. 2017-02-27 00:29:11 -08:00
Christopher Jeffrey
0a8228b3f4
miner: log block creation. 2017-02-26 23:06:46 -08:00
Christopher Jeffrey
a68ade51bc
miner: minor. 2017-02-26 22:12:00 -08:00
Christopher Jeffrey
6d4a2c61cb
miner: fix priorityWeight check. 2017-02-26 21:54:49 -08:00
Christopher Jeffrey
b73b2fba85
heap: minor refactor. 2017-02-26 21:53:05 -08:00
Christopher Jeffrey
70d4de39ce
miner: use a proper priority queue. 2017-02-26 12:53:41 -08:00
Christopher Jeffrey
cb7af959ce
miner: compare cumulative descendant fee rate. 2017-02-26 03:09:33 -08:00