Commit Graph

233 Commits

Author SHA1 Message Date
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
0ea341772c
address: make bech32 addrs more sane. 2017-05-13 00:21:51 -07:00
Christopher Jeffrey
ed4400acb9
address: start using from/toString. 2017-04-30 07:13:36 -07:00
Christopher Jeffrey
aa7e550f91
hd: do not store mnemonic on hd private key. 2017-03-14 06:10:35 -07:00
Christopher Jeffrey
304f0e7e75
smart coin selection. 2017-02-22 11:35:49 -08:00
Christopher Jeffrey
fed7d0de54
http: remove use of callbacks. 2017-01-12 02:57:24 -08:00
Christopher Jeffrey
4c557744a2
refactor: address, amount, uri, errors. 2017-01-09 23:07:02 -08:00
Christopher Jeffrey
a25610857e
mtx: lint. 2017-01-08 21:55:27 -08:00
Christopher Jeffrey
ee4e918024
mtx/tests: more refactoring. 2017-01-08 21:49:54 -08:00
Christopher Jeffrey
95c205b309
mtx: less overloading. 2017-01-08 02:44:55 -08:00
Christopher Jeffrey
8987c0d870
wallet/mtx: fix fee checking and refactor some mtx functions. 2017-01-08 01:36:01 -08:00
Christopher Jeffrey
5caf6210b9
refactor: move constants around. 2017-01-06 09:57:55 -08:00
Christopher Jeffrey
f9a1e18437
wallet: remove resolution. 2016-12-13 14:26:14 -08:00
Christopher Jeffrey
48fc7549ce
tx/wallet: misc fixes. 2016-12-11 06:14:32 -08:00
Christopher Jeffrey
59645ac3ec
refactor: remove extra properties from tx and block. 2016-12-11 05:35:31 -08:00
Christopher Jeffrey
b437b33760
test/bench: lint. 2016-12-10 17:13:45 -08:00
Christopher Jeffrey
d2e61d1fa2
test: cleanup tests. 2016-12-10 14:43:58 -08:00
Christopher Jeffrey
092c1a90df
coins: undo coins fixes. 2016-12-09 17:29:33 -08:00
Christopher Jeffrey
12b3274d33
refactor: pass coin viewpoints for every function requiring inputs. 2016-12-09 07:15:35 -08:00
Christopher Jeffrey
ee7d39ce81
policy: lower min relay fee to 1000. 2016-12-08 02:11:33 -08:00
Christopher Jeffrey
9e4db47792
wallet: improve size estimation. 2016-12-06 23:29:13 -08:00
Christopher Jeffrey
81e71e7922
wallet: drop wallet getters. 2016-11-30 23:12:01 -08:00
Christopher Jeffrey
bffdd78009
hd: drop getters. 2016-11-30 22:00:22 -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
aa79d92a83
http: more wallet api calls. 2016-11-09 18:25:33 -08:00
Christopher Jeffrey
6696045f60
test: fix encryption test. 2016-10-25 11:55:07 -07:00
Christopher Jeffrey
6e5bb6eef7
wallet: better masterkey handling for timeouts. 2016-10-25 11:27:47 -07:00
Christopher Jeffrey
45464c412f
walletdb: refactor block handling. 2016-10-24 10:40:53 -07:00
Christopher Jeffrey
11a7515bfd
walletdb: improve block handling. 2016-10-23 22:24:00 -07:00
Christopher Jeffrey
8896ff9665
test: clean up wallet tests. 2016-10-23 15:04:55 -07:00
Christopher Jeffrey
dc0cbc3637
txdb: fix deterministic weight. 2016-10-21 19:38:09 -07:00
Christopher Jeffrey
284932f4cf
txdb: serialization. 2016-10-21 19:38:09 -07:00
Christopher Jeffrey
557c1044cc
txdb: new orphan resolution. 2016-10-21 19:38:09 -07:00
Christopher Jeffrey
8368265c71
test: txdb no resolution tests. 2016-10-21 19:38:07 -07:00
Christopher Jeffrey
06a104c34d
txdb: cleanup. 2016-10-21 19:38:07 -07:00
Christopher Jeffrey
b666b89a4c
test: txdb missed txs. 2016-10-21 19:38:06 -07:00
Christopher Jeffrey
c07848fadd
txdb: orphan resolution. 2016-10-21 19:38:06 -07:00
Christopher Jeffrey
605874068b
s/bn/BN/g 2016-10-21 19:38:06 -07:00
Christopher Jeffrey
a864ec1552
wallet: refactor passphrase options. 2016-10-21 19:38:04 -07:00
Christopher Jeffrey
baeb786bb8
test: fix wallet accurate fee test. 2016-10-03 15:17:23 -07:00
Christopher Jeffrey
0f74292082
refactor: style. 2016-10-03 07:58:12 -07:00
Christopher Jeffrey
2097450b42
wallet: move watchOnly flag to wallet for safety. 2016-10-03 03:03:10 -07:00
Christopher Jeffrey
7b3134d782
account: hd watchonly support. 2016-10-02 23:24:13 -07:00
Christopher Jeffrey
57bc9bf4b0
wallet: better encrypted for imported keys. 2016-10-02 23:24:13 -07:00
Christopher Jeffrey
1a8657d131
spawn: rename to co. 2016-10-02 23:24:11 -07:00
Christopher Jeffrey
960393a53f
wallet: use separate branch for nested addrs. 2016-10-02 23:24:10 -07:00
Christopher Jeffrey
8c5c9de132
wallet: more rewriting. 2016-10-02 23:24:09 -07:00
Christopher Jeffrey
61a77d90e9
wallet: more rewriting. 2016-10-02 23:24:09 -07:00
Christopher Jeffrey
2544e5310a
walletdb: path refactor. 2016-10-02 23:24:09 -07:00
Christopher Jeffrey
44b78dd345
tests: use generators. 2016-09-23 04:18:54 -07:00
Christopher Jeffrey
ae83aa6fba
refactor: more work. 2016-09-22 00:24:59 -07:00
Christopher Jeffrey
d78151d3d3
refactor: promises. 2016-09-20 15:28:14 -07:00
Christopher Jeffrey
07285ebdd7
refactor: rename cost to weight. 2016-09-13 02:06:18 -07:00
Christopher Jeffrey
c9ebe29e39
crypto: do not expose crypto module from utils. 2016-09-06 15:15:36 -07:00
Christopher Jeffrey
e04dccb0c1
refactor: more restructuring (again). 2016-08-24 01:36:42 -07:00
Christopher Jeffrey
134bece292
bip150: first implementation. 2016-08-23 04:16:11 -07:00
Christopher Jeffrey
4b008540e0
wallet: key importing. 2016-08-19 12:39:50 -07:00
Christopher Jeffrey
eecae63cf3
walletdb: custom addresses. 2016-08-19 02:29:55 -07:00
Christopher Jeffrey
c836786b99
mtx/wallet: refactor keyring. 2016-08-19 00:39:56 -07:00
Christopher Jeffrey
4b85715ec2
do not accept mutable txs anywhere except wallet. 2016-08-18 02:09:30 -07:00
Christopher Jeffrey
e2d530c0da
wallet: range fixes. tests. 2016-08-18 02:09:30 -07:00
Christopher Jeffrey
16204a4794
walletdb: use layout for walletdb and txdb. 2016-08-18 02:09:30 -07:00
Christopher Jeffrey
49f56f786f
keyring: refactor. 2016-08-18 02:09:30 -07:00
Christopher Jeffrey
9e2dd9145f
wallet: switch to using number ids. 2016-08-18 02:09:30 -07:00
Christopher Jeffrey
9c94fae2a8
txdb: refactor batches. 2016-08-18 02:09:30 -07:00
Christopher Jeffrey
ba4ce73a8d
rename fill to fund. 2016-07-15 18:20:55 -07:00
Christopher Jeffrey
682596fb05
http tests. caches. 2016-07-15 18:20:55 -07:00
Christopher Jeffrey
503cbfc886
address: types and MAST. 2016-07-15 18:20:55 -07:00
Christopher Jeffrey
e3f023142f
wallet events. 2016-07-15 18:20:55 -07:00
Christopher Jeffrey
402b47a940
address consistency. 2016-07-15 18:20:55 -07:00
Christopher Jeffrey
b8997c9212
fix aes tests. 2016-06-27 02:23:06 -07:00
Christopher Jeffrey
a95ab18379
scanning. 2016-06-26 16:32:36 -07:00
Christopher Jeffrey
5095f78dbf
wallet map. 2016-06-26 03:58:09 -07:00
Christopher Jeffrey
f784c25d01
make encryption async. 2016-06-25 01:10:10 -07:00
Christopher Jeffrey
8b262a7ff9
tests. asserts. subtractFee. 2016-06-20 16:56:23 -07:00
Christopher Jeffrey
7422b46e75
refactor. 2016-06-18 20:59:34 -07:00
Christopher Jeffrey
7862418ccc
program. addresses. 2016-06-17 06:34:48 -07:00
Christopher Jeffrey
54d3b350e9
rename. fix testing functions. 2016-06-17 04:10:32 -07:00
Christopher Jeffrey
27b18c0fd2
work. mutable scripts. 2016-06-14 16:26:26 -07:00
Christopher Jeffrey
3f62a8ae42
scripting system. 2016-06-13 21:25:42 -07:00
Christopher Jeffrey
9a5f1c556d
strict mode. 2016-06-13 01:06:01 -07:00
Christopher Jeffrey
e51464f29b
refactor tx.verify. 2016-06-12 23:16:00 -07:00
Christopher Jeffrey
af33e61031
txdb: fix double-spend handling. 2016-06-04 19:34:37 -07:00
Christopher Jeffrey
084568617b
wallet and test refactor. 2016-06-01 17:55:40 -07:00
Christopher Jeffrey
64af74fe4a
master key. use locks to avoid race conditions in wallet. 2016-06-01 14:59:23 -07:00
Christopher Jeffrey
f382ca2a31
test account usage. 2016-05-31 23:45:48 -07:00
Christopher Jeffrey
2e5df5514a
change passphrase. 2016-05-31 06:42:12 -07:00
Christopher Jeffrey
390af13b14
wallets, now with reference counting. 2016-05-29 07:00:36 -07:00
Christopher Jeffrey
1002c222a6
refactor. 2016-05-28 12:02:39 -07:00
Christopher Jeffrey
14088e5b0c
async wallet cwallet. 2016-05-28 08:33:53 -07:00
Christopher Jeffrey
420d72d647
async wallet. 2016-05-28 05:48:50 -07:00
Christopher Jeffrey
3480b8c679
more wallet work. 2016-05-27 14:26:40 -07:00
Christopher Jeffrey
f013ddb353
improve fee calculation. tests. 2016-05-20 04:17:05 -07:00
Christopher Jeffrey
dd5c9096a7
use js numbers for values. 2016-05-14 20:57:52 -07:00
Christopher Jeffrey
493f0092e4
comments. refactor how module is exposed. 2016-05-14 13:22:43 -07:00
Christopher Jeffrey
6690991acb
more hd improvements. 2016-05-13 19:28:19 -07:00
Christopher Jeffrey
86bc2227a4
get address working. 2016-05-13 13:38:18 -07:00
Christopher Jeffrey
fc22de77bf
tests passing. 2016-05-13 10:04:56 -07:00