Commit Graph

5198 Commits

Author SHA1 Message Date
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
Aaron Blankstein
928bbe1bc6 updated API UWSGI install instructions and the default configs to have more descriptive replacement paths 2017-04-11 11:26:01 -04:00
Aaron Blankstein
286d54d651 Merge remote-tracking branch 'origin/rc-0.14.2' into api-aaron 2017-04-11 08:59:55 -04:00
Aaron Blankstein
356a416afd merging 0.14.2rc 2017-04-11 08:58:46 -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
c3a13caa0c merging rc-0.14.2 into api branch 2017-04-10 10:40:28 -04:00
Muneeb Ali
04e4b8a0ed Merge branch 'images' into api 2017-04-09 22:56:56 -04:00
Muneeb Ali
75f5b95930 added new docker docs and Dockerfiles 2017-04-09 22:56:31 -04:00
Muneeb Ali
895c4da4a3 added bitcoind and Blockstack integration tests docker 2017-04-09 22:56:10 -04:00
Muneeb Ali
3e28b17516 added SSL example 2017-04-09 22:55:45 -04:00
Muneeb Ali
6297e581f0 removed old images 2017-04-09 21:45:50 -04:00
Muneeb Ali
5e558031b7 updated docker images 2017-04-09 21:45:26 -04:00
Muneeb Ali
c8b51991c2 added docker build image for Blockstack API 2017-04-09 21:45:04 -04:00
Muneeb Ali
9d4cdecc72 removed old namecoin dockers 2017-04-09 21:44:27 -04:00
Muneeb Ali
7d4cc5ccc9 removed redundant links 2017-04-09 16:14:51 -04:00
Muneeb Ali
142109c902 updated docs for CLI and resolver 2017-04-09 16:13:15 -04:00
Muneeb Ali
c418ac5e5d Combined elastic search instructions 2017-04-09 16:12:49 -04:00
Muneeb Ali
ba80f11c77 updated CLI docs 2017-04-09 16:03:23 -04:00
Muneeb Ali
07cfe8f89f added pointers to relevant files 2017-04-09 15:57:45 -04:00
Muneeb Ali
e4db870f50 added step-by-step instructions for deploying the flask API (with nginx) 2017-04-09 15:57:34 -04:00
Muneeb Ali
a97f90cec6 updated memcached instructions 2017-04-09 15:10:36 -04:00
Muneeb Ali
c5ce9affff removed old file, moved all docs to /docs 2017-04-09 14:30:48 -04:00
Muneeb Ali
8f3fb075b3 updated license info 2017-04-09 14:30:21 -04:00
Muneeb Ali
abb2ce5e00 added resolver support for backwards compatibility 2017-04-09 14:29:05 -04:00
Muneeb Ali
d065994b3b for starting the flask api (instead of runserver.py) 2017-04-09 14:28:09 -04:00
Muneeb Ali
7e3ca0afa9 combined config file (with resolver), renamed from settings 2017-04-09 14:27:48 -04:00
Muneeb Ali
e112c1106e tested using resolver as a blueprint 2017-04-09 14:27:21 -04:00
Muneeb Ali
3407719320 merged resolver into api as a blueprint 2017-04-09 14:26:45 -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
5eb0b227f7 Merge branch 'rc-0.14.2' of https://github.com/blockstack/blockstack-core into rc-0.14.2 2017-04-06 18:03:33 -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
6206aaf681 add OS X blockstack .spec file for pyinstaller 2017-04-05 18:37:31 -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
5707298c73 sync with new immutable data api 2017-04-05 15:08:13 -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