Commit Graph

53 Commits

Author SHA1 Message Date
Jude Nelson
a4503cecad verify_profile should work with a p2pkh owner address as well as the data public key (thanks @rawkode.id!) 2017-04-06 18:02:51 -04:00
Jude Nelson
ef525e27af pass file path to put_immutable; use new get_secret() API 2017-04-05 15:05:57 -04:00
Jude Nelson
b96af3df08 refactor zone file sanity-checking logic. Also, only take a path to a new zone file on the CLI (#375) 2017-04-05 11:22:43 -04:00
Jude Nelson
46e84402d6 use new ecdsa_private_key() wrapper to enforce our compression semantics 2017-03-30 18:26:45 -04:00
Jude Nelson
f777a890ac get off of virtualchain.BitcoinPublicKey wherever possible in favor of keylib 2017-03-30 14:59:14 -04:00
Jude Nelson
233bcafadf switch to virtualchain over pybitcoin 2017-03-30 14:05:43 -04:00
Jude Nelson
998a51e870 use setup_config() in blockstack setup 2017-03-28 11:12:19 -04:00
Jude Nelson
0800d0d98a move broadcast_tx 2017-03-27 18:06:48 -04:00
Jude Nelson
b9ddd461b5 bugfixes in testing 2017-03-22 15:40:03 -04:00
Jude Nelson
aeec60ce73 take device_ids on the CLI interface (separate from the config file device IDs) in order to support external clients 2017-03-22 14:56:18 -04:00
Jude Nelson
f3af712965 add start-foreground (WIP) 2017-03-21 11:33:39 -04:00
Jude Nelson
4a71bd6041 explicitly opt-in for idata 2017-03-17 14:37:31 -04:00
Jude Nelson
2aa76c4028 take force=True/False to force stale inodes 2017-03-17 11:45:56 -04:00
Jude Nelson
96ec5962af add rmtree command 2017-03-16 10:58:26 -04:00
Jude Nelson
14c1acafda CLI interface fixes found from testing 2017-03-15 18:11:12 -04:00
Jude Nelson
f066ef7ff0 make datastore commands amenable to external keys 2017-03-13 17:51:07 -04:00
Jude Nelson
e15c759303 don't take wallet; take data private key for datastore operations 2017-03-09 20:03:06 -05:00
Jude Nelson
add43afe3d make sure the wallet exists before starting the API endpoint 2017-03-02 12:17:11 -05:00
Jude Nelson
762820c046 take a list of drivers when creating a data store 2017-03-01 19:29:41 -05:00
Jude Nelson
d442f0880a do early safety-checks for better UX experience; also add sign_data and verify_data commands for raw data 2017-02-28 16:25:18 -05:00
Jude Nelson
d5102fdd92 fix some typos; on renewal, verify that we own the name in the CLI 2017-02-27 16:42:09 -05:00
Jude Nelson
d0206780f8 make sure the API server is running before running name operations 2017-02-27 11:40:03 -05:00
Jude Nelson
03d3505d94 inform the user on error to try again with --debug 2017-02-27 09:35:43 -05:00
Jude Nelson
65cdd7beec always return zonefile_hash on set_zonefile_hash 2017-02-26 02:41:22 -05:00
Jude Nelson
a436a232a0 fix bugs found in testing 2017-02-24 19:17:53 -05:00
Jude Nelson
860a6baadc fix bugs found in testing 2017-02-23 17:21:50 -05:00
Jude Nelson
2ea288be7a datastore bugfixes found during testing 2017-02-21 12:34:06 -05:00
Jude Nelson
4bde177f8d Remove now-unneeded users, accounts, and datastores code; switch to using consolidated sanity-checking logic; rely on the API server for most of the heavy-lifting 2017-02-20 21:06:58 -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
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
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
1a7c755ec6 quote paths passed to os.system(). also debug output for min_confs 2017-02-12 15:02:41 -05:00
Jude Nelson
ff5491688e add withdraw command to withdraw funds from wallet 2017-02-12 05:51:04 -05:00
Jude Nelson
d938c52af7 take min_confs, not min_conf, as CLI arg 2017-02-12 03:58:14 -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
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
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
e46e255f13 init --> setup 2017-02-10 18:56:51 -05:00
Jude Nelson
6b141ff4a1 add init, setup_wallet, setup_storage commands. Enable register to transfer a name to a new recipient once updated (in which case, no profile will be set). Enable price to include the cost of the transfer. 2017-02-10 17:36:13 -05:00
Jude Nelson
c68d150861 return int/float for prices; don't overwrite payment address 2017-02-09 14:36:41 -05:00
Jude Nelson
383e3728d8 fix up get_registrar_info; formatting 2017-02-06 19:39:52 -05:00
Jude Nelson
dcc5bb4c18 methods for getting, adding, listing, and removing device IDs for multi-device data stores 2017-02-06 15:03:27 -05:00
Jude Nelson
8ef6dea71b check for storage setup for advanced storage methods; add upgrade_storage command; fix bugs found in testing 2017-01-30 01:35:46 -05:00
Jude Nelson
07324a20a9 get default password from environment; get default-yes setting from environment; WIP on prompting the user to migrate their wallet and create a data key 2017-01-23 19:04:06 -05:00
Jude Nelson
0d6f575c19 consolidate ensure_wallet_exists() checks; run data_setup() when we initialize the wallet for the first time; fetch user data from shared storage by default; have data-writing methods return a blockstack:// URL that can be used to read them; add get_data command that resolves a blockstack:// URL to data (regardless of how it is stored). 2017-01-18 18:49:16 -05:00