Commit Graph

584 Commits

Author SHA1 Message Date
Jude Nelson
4de600435e add support for sending log messages to port 8333 on localhost 2017-04-13 20:29:16 -04:00
Jude Nelson
b879bdd9cc GET /v1/names requires page= argument 2017-04-13 18:42:11 -04:00
Jude Nelson
b8b2324da6 optionally include a message in a withdraw operation (useful for e.g. paying service fees to applications) 2017-04-13 17:52:04 -04:00
Jude Nelson
80eb49a063 fix compatibility with put_mutable_data 2017-04-13 17:50:01 -04:00
Jude Nelson
95c472dcca port fix from master re: storing queued profiles 2017-04-13 16:43:46 -04:00
Jude Nelson
70e5aefd76 addresses are base58 2017-04-13 16:43:41 -04:00
Jude Nelson
de64a1b79c typo 2017-04-13 14:15:43 -04:00
Jude Nelson
5948e52749 add validate_zone_file command 2017-04-13 14:10:09 -04:00
Jude Nelson
ec2209513d use blockstack's logger, not virtualchain's 2017-04-13 11:01:05 -04:00
Jude Nelson
30d20d131c consistently get blockstack's logger, not virtualchain's 2017-04-13 11:00:24 -04:00
Jude Nelson
b56027a628 change error message 2017-04-13 11:00:14 -04:00
Jude Nelson
61f6052938 fix bugs in name import safety checks (discovered in testing) 2017-04-13 10:59:58 -04:00
Jude Nelson
0df007409c have the registrar track unconfirmed name imports and replicate zone files once they are confirmed 2017-04-13 10:59:34 -04:00
Jude Nelson
0fa6030da8 import cli_name_import() 2017-04-13 10:59:23 -04:00
Jude Nelson
1698e04537 Merge branch 'rc-0.14.2' of https://github.com/blockstack/blockstack-core into rc-0.14.2 2017-04-12 17:16:59 -04:00
Jude Nelson
cd110dd59c remove namespace API endpoints (these should only be accessed through the CLI) 2017-04-12 17:15:08 -04:00
Jude Nelson
c2509b9568 add is_namespace_revealed() and is_namespace_ready(); extend get_name_blockchain_record() to optionally NOT return expired names 2017-04-12 17:14:40 -04:00
Jude Nelson
7097850b1e document why we add +1 or +2 to the number of inputs in the fee estimation (answer: to account for extra inputs when the transaction gets subsidized) 2017-04-12 17:13:52 -04:00
Jude Nelson
fde745a0f7 implement get_fees(), clean up change amount calculation 2017-04-12 17:13:23 -04:00
Jude Nelson
b4b89615cb fill in get_fees(), clean up change address calculation 2017-04-12 17:13:05 -04:00
Jude Nelson
69bc93c29a fill in get_fees() 2017-04-12 17:12:55 -04:00
Jude Nelson
a49dfba9b6 fill in get_fees() 2017-04-12 17:12:45 -04:00
Jude Nelson
5b0d506a2a include estimated sizes for namespace_preorder, namespace_reveal, namespace_ready, and name_import transactions 2017-04-12 17:12:24 -04:00
Jude Nelson
b7bdb1aa97 expand the safety checker to include namespace_preorder, namespace_reveal, namespace_ready, and name_import. Also, expand the fee calculations to include fee estimates for these operations. 2017-04-12 17:11:54 -04:00
Jude Nelson
ef07e594dd have do_namespace_preorder, do_namespace_reveal, and do_namespace_ready use the safety module to verify safety properties prior to executing the transaction. Also, extend the fee estimators to include dust fees. 2017-04-12 17:11:07 -04:00
Jude Nelson
a106aeeff8 implement CLI commands for namespace_preorder, namespace_reveal, and namespace_ready. Include interactive wizards for configuring namespaces and acknowledging fees at each step. 2017-04-12 17:10:27 -04:00
Aaron Blankstein
877d213e94 Merge remote-tracking branch 'origin/rc-0.14.2' into api-aaron 2017-04-12 14:24:56 -04:00
Aaron Blankstein
d9404b5693 quick typo fixes in rpc and proxy 2017-04-12 14:14:16 -04:00
Aaron Blankstein
bccf08e2d2 integrating search as a blueprint flask, plus getting its imports to play nicely with the api module 2017-04-11 12:13:51 -04:00
Jude Nelson
6fed4a3f48 Merge pull request #381 from kantai/rc-0.14.2-aaron
Wallet initialization and secrets passing fixes
2017-04-10 18:09:50 -05:00
Jude Nelson
0a6436e40f make our Insight API endpoint the default UTXO provider 2017-04-10 11:51:16 -04:00
Jude Nelson
7edeb76bff update config and symbols for UTXO clients 2017-04-10 11:49:29 -04:00
Jude Nelson
a4f64bd1bf renamed old blockstack_utxo to blockstack_core as UTXO endpoint 2017-04-10 11:49:13 -04:00
Jude Nelson
580b5cbb11 Renamed blockstack_utxo to refer to the Insight API endpoint we'll be running; consolidated code for the explorer UTXO endpoint and the dedicated UTXO endpoint we maintain (both use insight API) 2017-04-10 11:48:44 -04:00
Jude Nelson
311687d322 consolidated insight API code 2017-04-10 11:48:32 -04:00
Aaron Blankstein
e53ba6d790 fixes to get the new secrets passing through stdin to work in my environment 2017-04-07 12:24:49 -04:00
Aaron Blankstein
b832720277 added default to ecdsa_private_key which fixes wallet initialization, and set privkey format to hex as expected by schema 2017-04-07 12:03:00 -04:00
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
e0dc00cddd only encode secrets if we need to 2017-04-05 17:49:07 -04:00
Jude Nelson
59803e4ff7 if we can't parse secrets, then use an empty dict 2017-04-05 17:45:49 -04:00
Jude Nelson
45369420e1 Add endpoints for getting the Core node logfile, and for appending to the logfile 2017-04-05 16:25:53 -04:00
Jude Nelson
425b982225 log system information on API startup 2017-04-05 15:45:38 -04:00
Jude Nelson
f91a67f28b sync with new storage API for immutable data 2017-04-05 15:08:02 -04:00
Jude Nelson
87532e67a1 store and load secrets across execv() without using envars 2017-04-05 15:07:44 -04:00
Jude Nelson
b13075d275 new secrets API, for passing secrets to child processes across execv(2) without using environment variables. The jist is pretty simple: write them to an unlinked file and have the execv'ed process read them back. Also, take care that no other process has the unlinked file open (e.g. via lsof), in order to ensure that not even another one of the user's processes is trying to race blockstack to get the secrets. 2017-04-05 15:06:40 -04:00
Jude Nelson
7d320668e7 get secrets with new secrets API, not envars 2017-04-05 15:06:25 -04:00
Jude Nelson
01094b56e9 pass secrets to API runner with new secrets API 2017-04-05 15:06:13 -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
f0f2b82d5d clarify variable name--we don't expect json 2017-04-05 15:05:42 -04:00
Jude Nelson
e40c510693 send raw data text; don't expect json 2017-04-05 15:05:29 -04:00