Commit Graph

149 Commits

Author SHA1 Message Date
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
Jude Nelson
affeb9dee7 remove names from get names owned by address endpoint route 2017-02-11 15:56:08 -05:00
Jude Nelson
bbf2181bb2 authenticate_api is False by default 2017-02-11 15:11:08 -05:00
Jude Nelson
c4e5abdcd4 api instead of rpcctl 2017-02-11 15:10:52 -05:00
Jude Nelson
1efd3c266b pass owner and payment address to register 2017-02-11 15:03:43 -05:00
Jude Nelson
5dee476031 bugfixes to name renewal fee estimation 2017-02-11 15:03:10 -05:00
Jude Nelson
e46e255f13 init --> setup 2017-02-10 18:56:51 -05:00
Jude Nelson
a2c2610982 /api/v1/... to /v1/... 2017-02-10 17:56:54 -05:00
Jude Nelson
8125808f22 don't set to boolean 2017-02-10 17:51:43 -05:00
Jude Nelson
83e0cd71f4 fix up symbols 2017-02-10 17:48:28 -05:00
Jude Nelson
559fb288fc comment on allow_legacy when loading zonefiles 2017-02-10 17:41:25 -05:00
Jude Nelson
648c2a0ef2 wallet_setup can be non-interactive 2017-02-10 17:41:12 -05:00
Jude Nelson
a78583a08d remove dead code 2017-02-10 17:40:56 -05:00
Jude Nelson
6ae423eaa0 get wallet payment and owner address endpoints 2017-02-10 17:40:44 -05:00
Jude Nelson
ece700fa80 optionally don't include any fees or operational costs for getting size estimations 2017-02-10 17:40:25 -05:00
Jude Nelson
edba1e0961 optionally skip the pricing if we're going to get a size estimation on preorder 2017-02-10 17:40:04 -05:00
Jude Nelson
c476022976 do not require blockchain ID in data setup 2017-02-10 17:39:52 -05:00
Jude Nelson
a9c45ac030 clean up constants a bit--use relative directories, and add p2sh size estimations 2017-02-10 17:39:24 -05:00
Jude Nelson
014ea4fd40 refactor storage setup so it's on a per-key basis, with no required blockchain ID 2017-02-10 17:39:02 -05:00
Jude Nelson
d2b6653391 move all one-time setup code to the CLI module 2017-02-10 17:38:46 -05:00
Jude Nelson
e5545df1d9 print exceptions directly; don't require a logger 2017-02-10 17:38:30 -05:00
Jude Nelson
c842082a55 remove dead code; have registrar thread track pending transfers; do transfers after updates if requested 2017-02-10 17:38:06 -05:00