Commit Graph

170 Commits

Author SHA1 Message Date
Jude Nelson
f845a009b4 generate both compressed and uncompressed keys when considering keys to sign multisig txs with 2017-02-13 15:43:43 -05:00
Jude Nelson
7e5f420c05 typo 2017-02-13 11:54:45 -05:00
Jude Nelson
06e096778c withdraw: it's okay for amount to be None; we'll calculate it later 2017-02-13 11:52:04 -05:00
Jude Nelson
421061e609 log different min_confs values than the defaults 2017-02-12 19:25:46 -05:00
Jude Nelson
7f76374254 remove dead code; auth bugfixes 2017-02-12 19:16:48 -05:00
Jude Nelson
78a828f7c4 fix up calculations of account and datastore private keys when looking up datastores, users, and accounts 2017-02-12 19:16:30 -05:00
Jude Nelson
907c360fdc speed up master address calculation in hdwallet by a few orders of magnitude 2017-02-12 19:16:10 -05:00
Jude Nelson
4cdf0f537a datastore privatekey hdpath is account_key/0' 2017-02-12 19:15:56 -05:00
Jude Nelson
c8d25a4bd4 codify hdpath for datastore private keys 2017-02-12 19:15:44 -05:00
Jude Nelson
a5e9292b5c derive account-specific private keys from user keys 2017-02-12 19:15:26 -05:00
Jude Nelson
c5e6657afa bugfixes: use the right private keys for datastore operations 2017-02-12 19:15:00 -05:00
Jude Nelson
f82ae94012 better argument-checking on withdraw 2017-02-12 15:36:48 -05:00
Jude Nelson
0128953c2a warn about different number of confirmations 2017-02-12 15:36:21 -05:00
Jude Nelson
fb72988e25 print out total amount on dust failure 2017-02-12 15:24:04 -05:00
Jude Nelson
9d81711fca error if we can't find UTXOs 2017-02-12 15:21:17 -05:00
Jude Nelson
1498a0cd42 log when we use a different number of confirmations 2017-02-12 15:04:43 -05:00
Jude Nelson
8cbadb50af blockstack_constants, not blockstack_config. Also, quote paths passed to os.system() 2017-02-12 15:04:26 -05:00
Jude Nelson
2a9cba57ad default to MIN_TX_CONFIRMATIONS, not None 2017-02-12 15:04:08 -05:00
Jude Nelson
237dda4793 fix -y option 2017-02-12 15:03:52 -05:00
Jude Nelson
1a7c755ec6 quote paths passed to os.system(). also debug output for min_confs 2017-02-12 15:02:41 -05:00
Jude Nelson
4e03e9d02f if multisig signing fails, at least tell us why 2017-02-12 14:04:58 -05:00
Jude Nelson
d18fd4beba force address to string 2017-02-12 14:04:47 -05:00
Jude Nelson
62119866b2 fix typo in error path 2017-02-12 14:04:36 -05:00
Larry Salibra
37b1510301 fix typo causing 500 error #295 2017-02-12 16:29:49 +02:00
Larry Salibra
7bf5c5bd30 add Access-Control-Allow-Headers header #294 2017-02-12 16:27:51 +02:00
Jude Nelson
ff5491688e add withdraw command to withdraw funds from wallet 2017-02-12 05:51:04 -05:00
Jude Nelson
2c7aa876a5 add GET and POST to /v1/wallet/balance, to query balance and transfer balance 2017-02-12 05:50:45 -05:00
Jude Nelson
64ee47b45b convert unicode to string 2017-02-12 05:50:25 -05:00
Jude Nelson
6528eb7e96 min_confs is type 'integer'; also, plumb through OPTIONS requests 2017-02-12 03:59:10 -05:00
Jude Nelson
59eadc71da use min_payment_confs 2017-02-12 03:59:00 -05:00
Jude Nelson
e2c8b18895 accept min_confs to check the minimum number of confirmations on payment UTXOs 2017-02-12 03:58:41 -05:00
Jude Nelson
1dec655c6f accept min_confs and pass along to async_preorder 2017-02-12 03:58:27 -05:00
Jude Nelson
d938c52af7 take min_confs, not min_conf, as CLI arg 2017-02-12 03:58:14 -05:00
Jude Nelson
149096b8bf move display_wallet_info to actions.py 2017-02-12 03:36:04 -05:00
Jude Nelson
551be513df user private keys are derived from a specific hardened child of the master key 2017-02-12 03:35:45 -05:00
Jude Nelson
2d6823d0f9 use compressed keys in the serialized data 2017-02-12 03:35:29 -05:00
Jude Nelson
a21451e39c users can be global or local 2017-02-12 03:35:20 -05:00
Jude Nelson
74a8b233d1 WIP: reworking the authentication mechanism to be more amenable to token versus password-based authentication (in preparation for the browser portal). Also, get rid of dedicated endpoints for loading app's index.html and loading/serving HTML pages for selecting users and accounts (that will be the portal's responsibility) 2017-02-12 03:34:24 -05:00
Jude Nelson
a2b424221c require private keys for certain types of URLs (since we need to generate the right hardened children) 2017-02-12 03:33:59 -05:00
Jude Nelson
1e6d2bf415 update TODOs 2017-02-12 03:33:46 -05:00
Jude Nelson
6fae7dc70d differentiate between local and global private key indexes and local and global users 2017-02-12 03:33:27 -05:00
Jude Nelson
130ce771e7 codify the hardened child key paths for various aspects of data stores 2017-02-12 03:33:07 -05:00
Jude Nelson
a37b8a259f generate account keys with 2 layers of separation from the user private key 2017-02-12 03:32:45 -05:00
Jude Nelson
0e3372ec04 differentiate between global-data initialization and local-data initialization 2017-02-12 03:32:17 -05:00
Jude Nelson
b8714b45e0 take min confirmations on preorder 2017-02-12 03:32:05 -05:00
Jude Nelson
319390b947 start_server (for now) 2017-02-12 03:31:55 -05:00
Jude Nelson
49d7c03e30 general refactoring. pass passwords where appropriate, start RPC endpoints as late as possible, separate out wallet display. Also, rename app_put_account to app_create_account, and add app_signin (to be used by both the CLI and REST API) 2017-02-12 03:30:53 -05:00
Jude Nelson
7541f96f7d allow all origins 2017-02-11 17:47:18 -05:00
Jude Nelson
6007bd9f0f add wallet_password command for changing the wallet password. TODO: plumb through to REST API 2017-02-11 15:56:45 -05:00
Jude Nelson
fe1fa33558 add some features to make it easier to change a wallet password 2017-02-11 15:56:30 -05:00