Commit Graph

65 Commits

Author SHA1 Message Date
Jude Nelson
8cf1580e11 Merge branch 'master' into develop 2018-10-18 15:28:09 -04:00
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
746a36059d rename *_nameops_* to *_blockstack_ops_* for code clarity 2018-09-27 17:42:17 -04:00
Jude Nelson
a00a1fbe36 fix bug in getting subdomain history; add method to check if a name created a zone file 2018-09-20 17:26:52 -04:00
Jude Nelson
7a437261dc return sorted token types 2018-09-20 17:04:03 -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
51fcc92f4f 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:19:10 -04:00
Jude Nelson
442e26a4be take only a page number for querying account history 2018-09-13 16:18:26 -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
3d8378de75 use the right public key that matches the owner address 2018-08-23 16:14:27 -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
961b17cb16 Merge branch 'master' into feature/token-v1 2018-08-07 14:39:29 -04:00
Jude Nelson
b82d6428ed de-lint 2018-07-06 14:23:36 -04:00
Jude Nelson
733e3ce9ef delinting! 2018-07-06 13:48:24 -04:00
Jude Nelson
f3621fa5c9 Merge branch 'develop' into feature/blockstack_client_refactor 2018-06-27 17:36:34 -04:00
Jude Nelson
01fe7c9fbe remove <<<<<< from merge 2018-06-20 18:58:13 -04:00
Aaron Blankstein
19cb51d8a2 force paging on the /v1/names/<name>/history endpoint 2018-06-20 18:57:44 -04:00
Jude Nelson
2e01578a8b add code to get a name and its history using pagination, with a fallback to get_name_blockchain_record() 2018-06-20 18:55:39 -04:00
Jude Nelson
9138da8da8 clarify offset/count 2018-06-20 18:55: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
437ec95d89 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:40:37 -04:00
Jude Nelson
febfbf73d7 fix a few regressions from the move away from blockstack_client 2018-04-27 01:11:03 -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