Commit Graph

50 Commits

Author SHA1 Message Date
Jude Nelson
6ac9fc27d3 better validation of JWTs on DID resolution 2018-10-17 18:15:08 -04:00
Jude Nelson
ad76a3d3da add client method to get all subdomain records processed at a given txid 2018-10-16 11:29:13 -04:00
Jude Nelson
f03d23aa95 rename *_nameops_* to *_blockstack_ops_* for code clarity 2018-09-27 17:52:20 -04:00
Jude Nelson
559afc5471 fix bug in getting subdomain history; add method to check if a name created a zone file 2018-09-19 18:31:45 -04:00
Jude Nelson
c7c8ea188f use get_name_history_page for getting pages of a name's history. do not rely on start_block or end_block, since we have the power to paginate directly 2018-09-13 16:14:25 -04:00
Jude Nelson
4bbae859fb use the right public key that matches the owner address 2018-08-23 15:58:55 -04:00
Jude Nelson
b82d6428ed de-lint 2018-07-06 14:23:36 -04:00
Jude Nelson
f3621fa5c9 Merge branch 'develop' into feature/blockstack_client_refactor 2018-06-27 17:36:34 -04:00
Jude Nelson
6648ec84a1 remove <<<<<< from merge 2018-06-20 18:50:02 -04:00
Aaron Blankstein
ec4ea24b20 force paging on the /v1/names/<name>/history endpoint 2018-06-20 17:49:38 -04:00
Aaron Blankstein
0cdfc9f939 force paging on the /v1/names/<name>/history endpoint 2018-06-20 11:38:14 -05:00
Jude Nelson
7ac2a0e74b add code to get a name and its history using pagination, with a fallback to get_name_blockchain_record() 2018-06-20 11:51:39 -04:00
Jude Nelson
6d6259ea59 add code to get a name and its history using pagination, with a fallback to get_name_blockchain_record() 2018-06-20 11:43:51 -04:00
Jude Nelson
d5ddecf637 fix bug in querying atlas zonefile inventories so we get the right range (we missed this before because we were querying the entire range only) 2018-06-18 18:41:46 -04:00
Jude Nelson
be71edf860 fix a few regressions from the move away from blockstack_client 2018-04-27 01:09:23 -04:00
Jude Nelson
014f75f63a temporarily remove the account system (will restore later) 2018-04-24 16:33:02 -04:00
Jude Nelson
8f51bcb4a0 separate out error validation 2018-04-24 10:43:00 -04:00
Jude Nelson
e0b07f8aa8 catch socket errors for all RPC methods:
* return HTTP 502 hint for invalid data and connection errors that are not timeouts
* return HTTP 503 for timeouts
* return HTTP 500 for errors that are not any of the above
2018-04-20 18:49:49 -04:00
Jude Nelson
4fc7c5f999 Merge branch 'develop' into feature/token-v1 2018-04-20 15:54:54 -04:00
Aaron Blankstein
51f8e61d7b add+refactor to /v1/subdomains and /v1/blockchains/bitcoin/subdomains_count 2018-04-20 12:02:08 -04:00
Aaron Blankstein
7a5bf1751c include subdomains in response to /v1/names/ pagination 2018-04-20 11:11:19 -04:00
Jude Nelson
b56e5f2d7b raise validation error if the back-plane does not return an HTTP hint 2018-04-19 19:05:06 -04:00
Jude Nelson
c1788b1974 be more rigorous about giving back http status hints on error paths 2018-04-19 11:55:54 -04:00
Jude Nelson
0ba1cf581e be more uniform in our error codes for validation errors versus assertion errors versus connection errors; add support for querying account state 2018-04-13 19:15:19 -04:00
Jude Nelson
ceb53bb0bd restore get_zonefiles_by_block 2018-04-05 17:30:24 -04:00
Jude Nelson
e51b11e3ea use the right authserviceproxy 2018-04-03 19:00:04 -04:00
Jude Nelson
87b9f85e11 preserve the ability to decode zonefiles to JSON, and the ability to connect to bitcoind 2018-04-03 17:59:28 -04:00
Jude Nelson
66764b7973 query account token types 2018-03-22 19:23:25 -04:00
Jude Nelson
f80c4ae7d4 catch general socket errors (like econnrefused) in commonly-used methods 2018-02-19 18:32:17 -05:00
Jude Nelson
3441b3ed65 catch socket.timeout in common methods 2018-02-19 14:53:14 -05:00
Jude Nelson
b5adff9526 don't return expired names by default 2018-02-18 23:15:46 -05:00
Jude Nelson
867e5a5c7f flesh out DID resolution, as well as profile resolution (we no longer need client-side storage drivers, since the Gaia hub takes care of this) 2018-02-15 13:07:57 -05:00
Jude Nelson
0ac53c4a85 flesh out resolve_DID() 2018-02-14 18:39:34 -05:00
Jude Nelson
eb4e2ba78b add code to get a name's DID 2018-02-14 17:42:51 -05:00
Jude Nelson
fcc05db338 move over the remaining blockstackd client methods to blockstackd 2018-02-12 11:00:13 -05:00
Jude Nelson
414e9cb7d5 remove dead code; move some namespace query and blockstack transaction query methods over 2018-02-11 18:57:19 -05:00
Jude Nelson
dbe8db849e add get_consensus_at(); rely on hostport URL scheme to detect SSL 2018-02-09 18:34:43 -05:00
Jude Nelson
673db70fc9 coerse string; fix import 2018-02-08 19:37:51 -05:00
Jude Nelson
8ce40b5462 fix up bugs in imports and packages 2018-02-08 19:15:12 -05:00
Jude Nelson
e03434e50e Merge branch 'feature/clean-chainstate' into feature/blockstackd-subdomain-indexing 2018-02-08 17:02:32 -05:00
Jude Nelson
e1e6dee503 add atlas_peer_exchange() call 2018-02-08 17:01:36 -05:00
Jude Nelson
11e4b40802 more methods moved from blockstack_client/proxy.py to blockstack/lib/client.py 2018-02-02 18:39:33 -05:00
Jude Nelson
f172e0a58a fix up imports 2018-01-30 17:41:15 -05:00
Jude Nelson
bc99b7c3fb add client code for looking up name and subdomain records 2018-01-29 19:08:21 -05:00
Jude Nelson
f8e2da6cc0 getinfo can return stale and warning flags 2018-01-22 19:11:40 -05:00
Jude Nelson
06cfae1aaa ports 6264 and 16264 don't use ssl 2018-01-19 17:33:43 -05:00
Jude Nelson
9af251826b add missing kw values 2018-01-18 19:57:00 -05:00
Jude Nelson
6b331b9d2b fix imports 2018-01-16 16:34:51 -05:00
Jude Nelson
16607e1a30 addresses can be 35 bytes 2018-01-13 23:49:57 -05:00
Jude Nelson
8aa485909b copy RPC client code from blockstack_client to blockstackd so the atlas peers can talk to one another. This cuts the dependency on blockstack_client in the Atlas subsystem 2018-01-12 18:36:22 -05:00