Commit Graph

233 Commits

Author SHA1 Message Date
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
Christopher Jeffrey
3ee5137851
rename method. 2016-05-01 21:47:08 -07:00
Christopher Jeffrey
bba94d4aaa
env variables. 2016-05-01 21:19:25 -07:00
Christopher Jeffrey
703c9aec3c
refactor database layout. 2016-05-01 20:45:36 -07:00
Christopher Jeffrey
d89bd13f09
move errors around. assert. 2016-04-29 18:17:48 -07:00
Christopher Jeffrey
69ddca52a8
clean up utils. 2016-04-18 00:36:03 -07:00
Christopher Jeffrey
0a621238ba
refactor: rename constants. 2016-04-17 08:45:22 -07:00
Christopher Jeffrey
a06eec2986
do not dump walletdb. 2016-04-16 20:59:57 -07:00
Christopher Jeffrey
0f6c19bcd5
major refactor. 2016-04-16 20:03:00 -07:00
Christopher Jeffrey
044d54e12e
add total balance. 2016-04-08 18:15:50 -07:00
Christopher Jeffrey
61ea825ffe
move lowlevelup.js. 2016-04-07 22:00:59 -07:00
Christopher Jeffrey
1898b38c49
db option. 2016-04-07 03:03:28 -07:00
Christopher Jeffrey
0a7f118528
add environment. 2016-04-06 18:55:55 -07:00
Christopher Jeffrey
9356a40e62 refactor. 2016-04-05 16:23:57 -07:00
Christopher Jeffrey
8346cccbcb balance. http. 2016-03-31 16:17:10 -07:00
Christopher Jeffrey
b0e6826232 txdb. 2016-03-31 14:36:39 -07:00
Christopher Jeffrey
af6ac736bf consistent naming. 2016-03-28 13:22:31 -07:00
Christopher Jeffrey
37c488c802 txdb and mempool work. 2016-03-26 01:29:04 -07:00
Christopher Jeffrey
1db0954c83 misc. 2016-03-24 03:45:00 -07:00
Christopher Jeffrey
17df9b41ce more mempool stuff. 2016-03-22 17:36:58 -07:00
Christopher Jeffrey
0f296394a5 add witness object. 2016-03-14 20:33:15 -07:00
Christopher Jeffrey
b528965912 new scripting system. 2016-03-14 19:45:11 -07:00
Christopher Jeffrey
4df5b305ea walletdb and txpool. 2016-03-03 18:57:02 -08:00
Christopher Jeffrey
e31e485553 walletdb. tests. refactor. 2016-03-02 02:36:14 -08:00
Christopher Jeffrey
8f77cf7173 all tests passing. 2016-03-01 20:15:57 -08:00
Christopher Jeffrey
b1232593d8 txdb. 2016-03-01 19:40:18 -08:00
Christopher Jeffrey
2677b0eecd wallet refactoring. 2016-02-28 22:44:02 -08:00
Christopher Jeffrey
3fcc7d5b07 segwit wallet support. segwit chain improvements. 2016-02-28 04:12:51 -08:00
Christopher Jeffrey
8467f339c1 segwit. misc. 2016-02-26 18:06:08 -08:00
Christopher Jeffrey
4c653683b7 segregated - goddamn - witness... and docs update. 2016-02-26 03:54:26 -08:00
Christopher Jeffrey
69038ac55e add mutable tx. 2016-02-24 05:48:52 -08:00
Christopher Jeffrey
27f6e6e678 refactor coin selection. 2016-02-24 04:05:16 -08:00
Christopher Jeffrey
30db808930 refactor keypair and hd. 2016-02-23 19:08:42 -08:00
Christopher Jeffrey
5773130b67 fix some tests. 2016-02-23 05:01:58 -08:00
Christopher Jeffrey
23d3343994 fix test. 2016-02-15 15:41:35 -08:00
Christopher Jeffrey
9d727cebae wallet tests. fixes. 2016-02-12 22:32:54 -08:00
Christopher Jeffrey
88c131c7b3 fix pool. hd improvements. 2016-02-12 17:57:21 -08:00
Christopher Jeffrey
bfd570e204 coin selection. misc. 2016-02-12 04:24:35 -08:00
Christopher Jeffrey
158a35881c add address.getType. 2016-02-11 02:00:54 -08:00
Christopher Jeffrey
4a6c73fc8e refactor signing. 2016-02-11 01:29:35 -08:00
Christopher Jeffrey
501abbab45 another wallet rewrite. 2016-02-10 21:06:25 -08:00
Christopher Jeffrey
6cc4c866dc wallet refactor. fixes. 2016-02-10 16:42:02 -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
eacd1e2ece bip45 wallet 2016-02-03 19:46:02 -08:00
Christopher Jeffrey
2deccde29e wallet work. consistency. 2016-02-02 16:09:48 -08:00
Christopher Jeffrey
156601e40a createTX. hd fixes. 2016-02-02 02:50:36 -08:00
Christopher Jeffrey
999cfefe54 more pool work. wallet.fill(). 2016-02-01 10:54:52 -08:00
Christopher Jeffrey
9011fcc25e stricter script standards. work on tx. 2016-01-18 01:52:18 -08:00
Christopher Jeffrey
4f8d24ba36 more int and packet work. 2016-01-13 18:31:07 -08:00
Christopher Jeffrey
442c984c12 improve p2sh building. change wallet key/redeem methods. 2016-01-10 21:43:52 -08:00
Christopher Jeffrey
eb1a3ea6d2 transaction improvements. 2016-01-10 04:58:03 -08:00
Christopher Jeffrey
d32a951f37 fix isMultisig: compare to n value. 2015-12-23 11:45:43 -08:00
Christopher Jeffrey
916d71481b test: check for fee. 2015-12-23 02:40:56 -08:00
Christopher Jeffrey
33a60e59f2 fix test involving fee and dust. 2015-12-23 02:37:05 -08:00
Christopher Jeffrey
3e608c2cc6 script and standard transaction types. prefixes. 2015-12-17 16:06:08 -08:00
Christopher Jeffrey
d7eea0941e add less-than-dust to fee. recalculate fee after input scripts are templated. 2015-12-10 13:52:34 -08:00
Christopher Jeffrey
3dec18c2c7 wallet/tx/script: n limit. refactor multisig options. 2015-12-10 02:25:44 -08:00
Christopher Jeffrey
22e092d6b8 fix and test hd keys. 2015-12-08 16:36:47 -08:00
Christopher Jeffrey
e4cfa878f1 multisig options. 2015-12-08 15:02:32 -08:00
Christopher Jeffrey
5f8ad78e4d have tx.verify handle p2sh correctly. 2015-12-08 14:54:21 -08:00
Christopher Jeffrey
fd7d20be9c enforce strict ordering with checkmultisig. 2015-12-08 11:46:14 -08:00
Christopher Jeffrey
a770e2bd7b add p2sh multisig test. 2015-12-07 19:18:52 -08:00
Christopher Jeffrey
7016991366 order keys and signatures for multisig correctly. 2015-12-07 19:18:37 -08:00
Christopher Jeffrey
1804acc77c tests passing. 2015-12-07 14:02:25 -08:00
Christopher Jeffrey
3d3e61dc6e test: add test for signing multiple inputs with different keys. 2014-06-06 15:29:34 -05:00
Fedor Indutny
ee9b9cf0e2 wallet: asyncify .fill() 2014-05-11 11:47:00 +04:00
Fedor Indutny
3ef7008a32 wallet: make .fill() throw 2014-05-11 02:41:00 +04:00
Fedor Indutny
89877db9ba test: improve wallet test 2014-05-11 01:51:20 +04:00
Fedor Indutny
2c36c8692a wallet: .fill() 2014-05-11 01:43:20 +04:00
Fedor Indutny
2e3fb9a7a3 tx-pool: verify all signatures 2014-05-10 12:28:49 +04:00
Fedor Indutny
86088f8ae9 tx-pool: ignore invalid orphans 2014-05-10 11:41:27 +04:00
Fedor Indutny
2ee4c7cd3a tx-pool: save spending TXs 2014-05-09 21:30:55 +04:00
Fedor Indutny
cf2e0042ff tx: .maxSize() method 2014-05-09 15:51:58 +04:00
Fedor Indutny
26516085f2 lib: update bn.js and elliptic 2014-05-09 03:53:57 +04:00
Fedor Indutny
688b16eb98 wallet: preliminary storage support 2014-05-08 14:09:11 +04:00
Fedor Indutny
a6be7bf5f7 lib: JSON serialization for everyone 2014-05-06 21:33:05 +04:00
Fedor Indutny
69f3e85e37 tx-pool: initial 2014-05-06 16:25:46 +04:00
Fedor Indutny
f139ce2d91 wallet: multisig signing 2014-05-06 14:58:51 +04:00
Fedor Indutny
4328d7c3ec wip 2014-05-05 13:46:29 +04:00
Fedor Indutny
c5d7d7f5f2 tx: test verification 2014-05-05 04:42:12 +04:00
Fedor Indutny
9fd54758a2 tx: wip sign/verify 2014-05-05 03:14:31 +04:00
Fedor Indutny
458e606359 wip 2014-05-04 23:24:32 +04:00
Fedor Indutny
8a3c9d2dcd initial 2014-04-28 17:12:26 +04:00