Commit Graph

52 Commits

Author SHA1 Message Date
Christopher Jeffrey
a45e683eb2
bcoin: switch to bsert for everything. 2018-08-10 16:23:46 -07:00
Christopher Jeffrey
cb978df380
db: drop old migrations. avoid using encoding. 2018-03-29 21:56:51 -07:00
Christopher Jeffrey
f2abdf68cb
bcoin: move encoding constants around. 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
bf4f5e3bac
bcoin: bstring requires. 2018-03-29 21:56:48 -07:00
Christopher Jeffrey
280d5d38e5
net/miner/hd: classify. 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
d4685e6e6c
utils: start using bstr. 2018-03-29 21:56:46 -07:00
Christopher Jeffrey
41925d495c
utils: start using bbuf. 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
9a8106f4f7
refactor: avoid using utils in crypto and vice versa. 2018-03-29 21:56:44 -07:00
Christopher Jeffrey
f3b94ded65
wallet/bcoin: stop tracking network everywhere. 2018-03-29 21:56:44 -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
1735fe6a6c
hd: refactor hardening handling. 2017-08-11 04:47:51 -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
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
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
a3c7a49c80
refactor: replace util.equal with Buffer#equals. 2017-06-12 03:00:08 -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
Christopher Jeffrey
aa7e550f91
hd: do not store mnemonic on hd private key. 2017-03-14 06:10:35 -07:00
Christopher Jeffrey
9f09de4867
rpc/http/wallet: more aggressive validation for addrs/keys. 2017-02-28 14:52:54 -08:00
Christopher Jeffrey
4e7df6ef87
docs: get jsdoc compiling again. 2017-02-03 22:47:26 -08:00
Christopher Jeffrey
5caf6210b9
refactor: move constants around. 2017-01-06 09:57:55 -08:00
Christopher Jeffrey
3b9e4d6c6e
refactor: use static writers everywhere. 2016-12-11 17:26:42 -08:00
Christopher Jeffrey
48fc7549ce
tx/wallet: misc fixes. 2016-12-11 06:14:32 -08:00
Christopher Jeffrey
a95aba92fb
serialization: less polymorphism. 2016-12-04 00:54:50 -08:00
Christopher Jeffrey
bffdd78009
hd: drop getters. 2016-11-30 22:00:22 -08:00
Christopher Jeffrey
cb59675b06
refactor: rename buffer reader/writer vars. 2016-11-26 10:56:50 -08:00
Christopher Jeffrey
b754973511
utils/btc: rename. 2016-11-19 10:45:31 -08:00
Christopher Jeffrey
0631148705
modules: more refactoring. 2016-11-19 05:29:29 -08:00
Christopher Jeffrey
0d2391be14
wallet: start using crypto.cleanse. 2016-11-09 18:25:37 -08:00
Christopher Jeffrey
25ac6b70de
hd: rename testing methods. 2016-10-21 19:38:04 -07:00
Christopher Jeffrey
ee4014a12f
hd: minor fixes. 2016-10-04 02:47:33 -07:00
Christopher Jeffrey
d77215009f
hd: cache. 2016-10-03 16:49:00 -07:00
Christopher Jeffrey
f0223146af
deps: massive refactor. 2016-10-02 23:24:11 -07:00
Christopher Jeffrey
323d5fb8a4
hd: refactor deps. 2016-10-02 23:24:10 -07:00