Commit Graph

149 Commits

Author SHA1 Message Date
Christopher Jeffrey
897e4ae662
hd refactor. 2016-05-13 13:04:55 -07:00
Christopher Jeffrey
fc22de77bf
tests passing. 2016-05-13 10:04:56 -07:00
Christopher Jeffrey
5eb3946e38
major refactor. 2016-05-13 09:24:04 -07:00
Christopher Jeffrey
0f4a591665
script: minor. 2016-04-30 21:08:32 -07:00
Christopher Jeffrey
74a5a39bf7
refactor utils. 2016-04-30 19:50:12 -07:00
Christopher Jeffrey
afee09a935
utils refactor. 2016-04-30 16:20:40 -07:00
Christopher Jeffrey
aa3579c8cd
aes. 2016-04-30 04:22:11 -07:00
Christopher Jeffrey
839f915fb7
comments. 2016-04-30 02:43:12 -07:00
Christopher Jeffrey
96139ad31c
faster mnemonic creation. 2016-04-30 02:04:49 -07:00
Christopher Jeffrey
65f99b736b
minor refactor 2016-04-29 23:35:48 -07:00
Christopher Jeffrey
f6b42ae5f3
do not store lang. 2016-04-29 06:11:54 -07:00
Christopher Jeffrey
9814dc32f7
mnemonic refactor. 2016-04-29 06:02:31 -07:00
Christopher Jeffrey
8e9f0d1bf7
support other languages. 2016-04-29 05:53:40 -07:00
Christopher Jeffrey
1d8c9e7c99
mnemonic improvements. 2016-04-29 05:49:10 -07:00
Christopher Jeffrey
1e0394cc0b
another tx test. minor. 2016-04-20 01:08:13 -07:00
Christopher Jeffrey
ed6b1e9072
rename methods. 2016-04-19 11:50:56 -07:00
Christopher Jeffrey
99d8f4d928
more hd refactoring. 2016-04-19 10:49:08 -07:00
Christopher Jeffrey
c8e771d05b
refactor hd. 2016-04-19 10:39:15 -07:00
Christopher Jeffrey
69436cfd16
refactor network. 2016-04-17 10:41:48 -07:00
Christopher Jeffrey
0a621238ba
refactor: rename constants. 2016-04-17 08:45:22 -07:00
Christopher Jeffrey
72e907f81e
more fixes. cleanup. 2016-04-15 06:44:38 -07:00
Christopher Jeffrey
e3595906c9
no one can say i didn't write docs now. 2016-04-15 06:43:44 -07:00
Christopher Jeffrey
0a7f118528
add environment. 2016-04-06 18:55:55 -07:00
Christopher Jeffrey
6062f1ce94 more refactoring. 2016-04-04 16:39:02 -07:00
Christopher Jeffrey
c9bdad9bdf hd rewrite. 2016-04-01 21:19:46 -07:00
Christopher Jeffrey
2dede909c3 hd. bcoin-cli. 2016-04-01 19:02:08 -07:00
Christopher Jeffrey
6ce950d081 duck typing. 2016-03-24 14:18:24 -07:00
Christopher Jeffrey
43923e3201 use bn.toBuffer. 2016-03-21 21:57:20 -07:00
Christopher Jeffrey
5153e0e1f0 cleanup. 2016-03-19 10:03:55 -07:00
Christopher Jeffrey
c445fcd1bd more linting. 2016-03-15 04:59:39 -07:00
Christopher Jeffrey
2e37b1e7ad lint. 2016-03-15 04:37:17 -07:00
Christopher Jeffrey
7058611456 improve hd key perf. 2016-03-10 14:06:49 -08:00
Christopher Jeffrey
28e105c16e avoid using pbkdf2 when loading wallet. improve spvnode. 2016-03-10 03:25:48 -08:00
Christopher Jeffrey
e6048e85c8 walletdb. txdb. webhooks. 2016-03-02 19:37:55 -08:00
Christopher Jeffrey
77c9348824 get segnet working. 2016-02-26 21:53:39 -08:00
Christopher Jeffrey
4c653683b7 segregated - goddamn - witness... and docs update. 2016-02-26 03:54:26 -08:00
Christopher Jeffrey
5cb06c6cbd faster hd deserialization. 2016-02-23 20:23:25 -08:00
Christopher Jeffrey
72a877cc49 more lazy loading. 2016-02-23 20:06:07 -08:00
Christopher Jeffrey
b6e32ecaf8 more hd cleanup. 2016-02-23 19:58:11 -08:00
Christopher Jeffrey
3804c2ea74 more hd optimization. 2016-02-23 19:35:47 -08:00
Christopher Jeffrey
ebee3965f7 cleanup hd. 2016-02-23 19:27:12 -08:00
Christopher Jeffrey
30db808930 refactor keypair and hd. 2016-02-23 19:08:42 -08:00
Christopher Jeffrey
0f40d78f9e this is faster for some reason. 2016-02-23 17:29:04 -08:00
Christopher Jeffrey
abcd174bd3 add random function. 2016-02-23 13:25:21 -08:00
Christopher Jeffrey
aadb1fb4e0 more hd optimization. 2016-02-23 13:22:00 -08:00
Christopher Jeffrey
00eba20c4e hd key optimization 2016-02-23 13:14:58 -08:00
Christopher Jeffrey
6cf17c2b6d some more optimization. 2016-02-23 03:59:12 -08:00
Christopher Jeffrey
83239112e4 improve keypair. 2016-02-23 03:46:51 -08:00
Christopher Jeffrey
e5de8db660 more json improvements. 2016-02-23 02:27:10 -08:00
Christopher Jeffrey
73d3291ee9 more buffer work. 2016-02-22 21:25:01 -08:00
Christopher Jeffrey
78e9be11c3 switch to buffers. 2016-02-22 20:37:15 -08:00
Christopher Jeffrey
c81770c2b1 move some deps around. drop inherits. 2016-02-21 06:31:15 -08:00
Christopher Jeffrey
10804959d5 add wrapper for elliptic vs secp256k1. see #52. 2016-02-21 04:37:50 -08:00
Christopher Jeffrey
6e2eb039ac add spv node. add .bcoin dir. add file storage for wallet. 2016-02-20 16:53:10 -08:00
Christopher Jeffrey
997f0acbb0 more refactoring. 2016-02-16 16:13:34 -08:00
Christopher Jeffrey
5de30139ae lru. misc. 2016-02-16 01:23:07 -08:00
Christopher Jeffrey
06ba355363 simplify scanning. 2016-02-13 16:08:29 -08:00
Christopher Jeffrey
2a5c35cf05 add hd scanning to wallet. 2016-02-13 15:44:15 -08:00
Christopher Jeffrey
60abff853a hd option parsing and network. 2016-02-12 19:52:47 -08:00
Christopher Jeffrey
88c131c7b3 fix pool. hd improvements. 2016-02-12 17:57:21 -08:00
Christopher Jeffrey
4e34d3d0ca use native pbkdf2. 2016-02-12 15:41:48 -08:00
Christopher Jeffrey
d445fb7943 option parsing. 2016-02-11 02:52:27 -08:00
Christopher Jeffrey
6cc4c866dc wallet refactor. fixes. 2016-02-10 16:42:02 -08:00
Christopher Jeffrey
72b7adc800 get bcoin working in the browser again. 2016-02-08 18:06:39 -08:00
Christopher Jeffrey
84551e17e2 paths. scanning. unspents. 2016-02-05 03:44:42 -08:00
Christopher Jeffrey
b835fff86c hd keys. address pruning. txpool balance. 2016-02-04 18:58:56 -08:00
Christopher Jeffrey
b9149a0855 fix hd privkey derivation. 2016-02-04 13:14:33 -08:00
Christopher Jeffrey
49bcfc17e9 keypair consistency. 2016-02-04 12:45:03 -08:00
Christopher Jeffrey
99fac69127 keypair improvements. 2016-02-04 03:30:12 -08:00
Christopher Jeffrey
fa22c79dbe hd and wallet work. 2016-02-04 02:44:16 -08:00
Christopher Jeffrey
517a5d488b cleanup 2016-02-03 21:49:32 -08:00
Christopher Jeffrey
eacd1e2ece bip45 wallet 2016-02-03 19:46:02 -08:00
Christopher Jeffrey
28a2cab787 add bip45 to hd.js. 2016-02-03 13:22:43 -08:00
Christopher Jeffrey
156601e40a createTX. hd fixes. 2016-02-02 02:50:36 -08:00
Christopher Jeffrey
42e17bc0f2 rewrite wallet. allow multiple addresses. utilize hd. 2016-02-01 21:37:06 -08:00
Christopher Jeffrey
0b7ca266ee tx/script refactor and improvements. 2016-01-09 19:02:19 -08:00
Christopher Jeffrey
314c14f422 input/output consistency. misc. 2016-01-09 13:22:08 -08:00
Christopher Jeffrey
8087601a7f work 2016-01-08 16:59:03 -08:00
Christopher Jeffrey
d56f7a3733 even more bufffer work. 2016-01-08 04:11:46 -08:00
Christopher Jeffrey
c0d0423f14 hd/wallet: minor. 2015-12-20 13:29:39 -08:00
Christopher Jeffrey
93e42e90a1 drop old fee and dust constants. style. 2015-12-20 01:50:18 -08:00
Christopher Jeffrey
1db84a0528 wallet json and prefix. style. cleanup. 2015-12-20 01:43:09 -08:00
Christopher Jeffrey
61699cca3a style: function names. 2015-12-19 15:43:28 -08:00
Christopher Jeffrey
a18a501c37 refactor hd keys. 2015-12-19 15:14:56 -08:00
Christopher Jeffrey
b20bcf701b fix private key encryption. style changes. 2015-12-19 14:00:23 -08:00
Christopher Jeffrey
1e802c152f comments. more style consistency. 2015-12-18 22:53:31 -08:00
Christopher Jeffrey
5ece45091b style consistency. 2015-12-18 22:37:02 -08:00
Christopher Jeffrey
b0a3a0e853 utils. minor fixes. wallet functions. 2015-12-14 14:00:06 -08:00
Christopher Jeffrey
bb9974b818 add master key reference to hd keys. 2015-12-10 17:54:15 -08:00
Christopher Jeffrey
57491aaadc add network.js and testnet support. see #40. 2015-12-09 16:25:55 -08:00
Christopher Jeffrey
89f2a0dcc3 formatting. make use of helpers in hd. 2015-12-09 10:40:33 -08:00
Christopher Jeffrey
71ea61e467 update elliptic. remove ec.curve.n workaround. 2015-12-08 17:34:36 -08:00
Christopher Jeffrey
22e092d6b8 fix and test hd keys. 2015-12-08 16:36:47 -08:00
Christopher Jeffrey
58d8881e46 add hd tests. 2015-12-07 16:17:09 -08:00
Christopher Jeffrey
37e1c8a2ef formatting changes. 2015-12-07 15:51:15 -08:00
Christopher Jeffrey
3f2d53b414 hd.js: workaround for latest bn.js. 2015-12-05 18:19:52 -08:00
Christopher Jeffrey
916fca9c2f update hash.js. use for sha512-hmacs. 2015-12-05 04:16:41 -08:00
Christopher Jeffrey
a2f13d94c3 fix address problems. update elliptic to 3.0.3. 2015-12-05 03:40:11 -08:00
Christopher Jeffrey
ea9af49f4b hd and p2sh 2015-12-04 18:01:31 -08:00