Commit graph

83 commits

Author SHA1 Message Date
Christopher Jeffrey
966401083e
build: improve no-compat webpack build. 2017-12-29 13:00:30 -08:00
Christopher Jeffrey
056630e231
db: drop old migrations. avoid using encoding. 2017-12-05 03:14:34 -08:00
Christopher Jeffrey
a3e0a5fe11
db: use bdb key object. 2017-12-04 23:07:26 -08:00
Christopher Jeffrey
b32280bc05
wallet: more migrations. 2017-11-27 10:46:38 -08:00
Christopher Jeffrey
5ac4a84211
bcoin: move encoding constants around. 2017-11-16 23:52:14 -08:00
Christopher Jeffrey
c60b8ea125
refactor: switch to bio module. 2017-11-16 11:43:24 -08:00
Christopher Jeffrey
69a2fb43ef
bcoin: bstring requires. 2017-11-16 10:41:19 -08:00
Christopher Jeffrey
def292c982
net/miner/hd: classify. 2017-11-16 09:15:53 -08:00
Christopher Jeffrey
1b39abe157
bcoin: rename bufio and bstring. 2017-11-15 09:02:44 -08:00
Christopher Jeffrey
9a19cdb24d
crypto: start using hash.digest(). 2017-11-01 15:41:32 -07:00
Christopher Jeffrey
28f6c68470
utils: start using bstr. 2017-10-30 21:34:34 -07:00
Christopher Jeffrey
3ecc9829e3
utils: start using bbuf. 2017-10-30 21:29:49 -07:00
Christopher Jeffrey
f994266f35
encoding: refactor. remove bip70. 2017-10-30 21:02:19 -07:00
Christopher Jeffrey
05e0091a81
hd: move nfkd to hd directory. 2017-10-29 08:22:46 -07:00
Christopher Jeffrey
d6fb654dad
bcoin: remove dependence on util.js. 2017-10-26 04:07:48 -07:00
Christopher Jeffrey
71182864e7
bcoin: use bcrypto. remove crypto module. 2017-10-25 21:21:39 -07:00
Christopher Jeffrey
970926eb3c
wallet/http: improve validation. 2017-10-20 08:50:37 -07:00
Christopher Jeffrey
2c3e66476d
refactor: avoid using utils in crypto and vice versa. 2017-10-20 06:21:12 -07:00
Christopher Jeffrey
8a409a6969
wallet/bcoin: stop tracking network everywhere. 2017-10-20 06:04:40 -07:00
Christopher Jeffrey
d00e924965
hd: use buffer pool for key derivation. 2017-09-03 11:29:59 -07:00
Christopher Jeffrey
e0eb1cdbe3
refactor: remove all duck typing. 2017-09-02 21:29:38 -07:00
Christopher Jeffrey
3c2c8ea955
hd: pass purpose number to bip44 derivation. drop bip45 support. 2017-08-26 02:41:27 -07:00
Christopher Jeffrey
b8f57df90c
hd: use a u32 for fingerprints. 2017-08-11 14:47:54 -07:00
Christopher Jeffrey
aa327131e8
hd: improve arg parsing. 2017-08-11 05:12:18 -07:00
Christopher Jeffrey
e6cd60f919
hd: better path parsing. 2017-08-11 05:07:04 -07:00
Christopher Jeffrey
1735fe6a6c
hd: refactor hardening handling. 2017-08-11 04:47:51 -07:00
Christopher Jeffrey
413f26584d
mnemonic: refactor parsing and serialization for phrases. 2017-08-10 06:55:01 -07:00
Christopher Jeffrey
50b8dd2b2c
mnemonic: better parsing. 2017-08-10 06:22:33 -07:00
Christopher Jeffrey
bff9e25796
mnemonic: optimize fromPhrase. 2017-08-09 18:17:25 -07:00
Christopher Jeffrey
9f3a040758
mnemonic: fix an error for certain languages. 2017-08-09 17:44:06 -07:00
Christopher Jeffrey
edebc51d18
primitives: use equals instead of equal for consistency. 2017-08-09 15:25:01 -07:00
Christopher Jeffrey
4ce070fad4
validation: use stricter validation for ints. 2017-08-06 14:43:22 -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
9219e23d8c
hd/wallet: add bip48 arg to prepare for bip48 support. see #238. 2017-07-23 07:22:53 -07:00
Christopher Jeffrey
75adfe5ec0
mnemonic: refactor fromPhrase. 2017-07-23 07:22:53 -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
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
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
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
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
7089735fb0
hd: cleanup some methods. 2017-05-13 23:39:22 -07:00
Christopher Jeffrey
11a660aeab
network: add more helper functions. 2017-05-13 21:35:58 -07:00