Commit Graph

121 Commits

Author SHA1 Message Date
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
Jude Nelson
dfd2aba3e7 remove dead code 2017-02-10 17:37:51 -05:00
Jude Nelson
9835b7f80a refactor price estimation for better fee estimates on preorders, registers, and transfers. Also, make it so we don't need any UTXOs to do estimations. 2017-02-10 17:37:01 -05:00
Jude Nelson
02c81b5f5f documentation on pricing for transaction 2017-02-10 17:36:46 -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
163fa96342 fix bug in pagination of get_nameops_affected_at() 2017-02-09 14:42:39 -05:00
Jude Nelson
da9a94177b sanely fail if the wallet doesn't exist in load_wallet 2017-02-09 14:39:20 -05:00
Jude Nelson
112600f566 allow the caller to set the private key index 2017-02-09 14:39:09 -05:00
Jude Nelson
9bb0e30547 don't override the minimum number of confirmations 2017-02-09 14:38:53 -05:00
Jude Nelson
a62dd74aed require the wallet to exist before the RPC daemon starts; require user_id to be set in the session for all Identity API calls; WIP adding wallet and node endpoints 2017-02-09 14:37:58 -05:00
Jude Nelson
11a8879a12 print out the address if there are no UTXOs 2017-02-09 14:37:21 -05:00
Jude Nelson
12a576ef33 allow the caller to set the private key index 2017-02-09 14:37:04 -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
905d26f61c with the right configuration, allow RESTful API calls without authentication 2017-02-07 15:46:06 -05:00
Jude Nelson
7c6a04e319 add option to disable authentication in the API 2017-02-07 15:45:49 -05:00
Jude Nelson
5a7ae8a228 fix bugs in the CLI interface discovered by @larry 2017-02-07 15:45:35 -05:00
Jude Nelson
4f8e14a841 retry getting the consensus hash with exponential backoff 2017-02-07 15:45:23 -05:00
Jude Nelson
384cd6dcf9 separate out account-making information from account-generating logic 2017-02-07 15:38:36 -05:00
Jude Nelson
760fe002f6 add /node/wallet/public endpoint 2017-02-07 00:22:15 -05:00
Jude Nelson
1ee61c6dd3 make sure the public key is a string 2017-02-06 19:40:53 -05:00
Jude Nelson
bcc421c06e add handler for GET /blockchains/bitcoin/pending 2017-02-06 19:40:39 -05:00
Jude Nelson
dda481dfe4 explicit config_path 2017-02-06 19:40:25 -05:00
Jude Nelson
25fca97eed be more rigorous about authenticating the rpc token 2017-02-06 19:40:10 -05:00
Jude Nelson
383e3728d8 fix up get_registrar_info; formatting 2017-02-06 19:39:52 -05:00
Jude Nelson
bc564e14e6 failure to replicate a zonefile will not always have an error message 2017-02-06 15:15:51 -05:00
Jude Nelson
b0d891ee52 fix typo 2017-02-06 15:15:39 -05:00
Jude Nelson
a58418646a need sys.exit 2017-02-06 15:15:28 -05:00
Jude Nelson
9d8cfce7ef it's okay if we don't have a user zone file when searching through it; just return None in these cases. 2017-02-06 15:15:10 -05:00
Jude Nelson
92df065112 small bugfixes 2017-02-06 15:14:59 -05:00