Commit Graph

113 Commits

Author SHA1 Message Date
Christopher Jeffrey
f10d7b8363
pkg: remove bn.js dependency. 2018-08-10 16:33:38 -07:00
Christopher Jeffrey
9ee3854828
bdb: upgrade bdb usage for keys. 2018-08-10 16:24:10 -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
febc55b586
minor: lint. 2018-03-29 21:56:53 -07:00
Christopher Jeffrey
5b448b5bce
wallet: add wid->id index. 2018-03-29 21:56:53 -07:00
Christopher Jeffrey
c63e977ccf
chaindb: minor. 2018-03-29 21:56:52 -07:00
Christopher Jeffrey
76c4321448
migrate: latest migration script. 2018-03-29 21:56:51 -07:00
Christopher Jeffrey
417b37b0c3
db: remove backend option. 2018-03-29 21:56:51 -07:00
Christopher Jeffrey
bad028ab67
chaindb: refactor. 2018-03-29 21:56:51 -07:00
Christopher Jeffrey
cb978df380
db: drop old migrations. avoid using encoding. 2018-03-29 21:56:51 -07:00
Christopher Jeffrey
dbde501444
db: use bdb key object. 2018-03-29 21:56:50 -07:00
Christopher Jeffrey
aa115c2e9d
wallet: refactor removal. 2018-03-29 21:56:50 -07:00
Christopher Jeffrey
d896e221c0
migrate: add logs for wallet migration. 2018-03-29 21:56:50 -07:00
Christopher Jeffrey
86dc53f9dd
wallet: smarter path serialization. 2018-03-29 21:56:50 -07:00
Christopher Jeffrey
efca42b138
wallet: migrate paths. 2018-03-29 21:56:50 -07:00
Christopher Jeffrey
e2ef35b24b
wallet: more migrations. 2018-03-29 21:56:50 -07:00
Christopher Jeffrey
0055c82f22
migrate: add walletdb 6-to-7 migration. 2018-03-29 21:56:50 -07:00
Christopher Jeffrey
5ea218b373
bcoin: require bn.js directly. 2018-03-29 21:56:49 -07:00
Christopher Jeffrey
3c82ac0486
bcoin: use util.revHex again. 2018-03-29 21:56:49 -07:00
Christopher Jeffrey
163e89fc29
bcoin: lint. 2018-03-29 21:56:49 -07:00
Christopher Jeffrey
21ab415769
refactor: switch to bio module. 2018-03-29 21:56:48 -07:00
Christopher Jeffrey
ca08d6d97e
bcoin: rename bufio and bstring. 2018-03-29 21:56:48 -07:00
Christopher Jeffrey
f9eba3f5a6
crypto: start using hash.digest(). 2018-03-29 21:56:47 -07:00
Christopher Jeffrey
8332b93721
utils: remove dependence on co. 2018-03-29 21:56:47 -07:00
Christopher Jeffrey
41925d495c
utils: start using bbuf. 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
d1e4be8343
bcoin: use bdb. 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
f3b94ded65
wallet/bcoin: stop tracking network everywhere. 2018-03-29 21:56:44 -07:00
Christopher Jeffrey
4d8ca8c16f
db: change iterator api to be more loop-friendly. 2017-10-18 12:58:21 -07:00
Christopher Jeffrey
b81643473e
encoding: refactor int64 handling. 2017-09-05 21:17:58 -07:00
Christopher Jeffrey
73b84cc1a7
lint: remove useless parens. 2017-08-27 16:50:23 -07:00
Christopher Jeffrey
13892b3b38
encoding: rename written to offset. 2017-08-24 22:36:59 -07:00
Christopher Jeffrey
1a48ba78f1
migrate: less memory usage for chaindb2to3. see #271. 2017-08-11 00:29:48 -07:00
Christopher Jeffrey
f41724046e
migrate: fix error for pruned in chaindb2to3 migration. see #272. 2017-08-11 00:13:00 -07:00
Christopher Jeffrey
4ce070fad4
validation: use stricter validation for ints. 2017-08-06 14:43:22 -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
57df561299
migrate: more pertxout migration optimizations. 2017-07-31 18:21:03 -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
5eb6620431
lint: consistent return values. 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
42fe56459e
migrate: drop next hash for sentinel hash in chaindb2to3. 2017-07-31 18:20:49 -07:00
Christopher Jeffrey
63ff27d5d6
migrate: allow in-place pruning for chaindb2to3. 2017-07-31 18:20:49 -07:00