Commit Graph

524 Commits

Author SHA1 Message Date
Jude Nelson
975a662e6f make sure a DID that points to an expired but reregistered name will resolve to the name as it was just before it was reregistered 2018-02-15 23:26:24 -05:00
Jude Nelson
b2bbd69a9d make sure DIDs that point to old expired versions of a name still resolve 2018-02-15 23:25:58 -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
b470bdd9d7 remove unused code 2018-02-14 17:42:32 -05:00
Jude Nelson
bb4e55295b add method to get a subdomain's DID 2018-02-14 17:42:17 -05:00
Jude Nelson
aa07488e49 whitespace in query 2018-02-12 23:54:43 -05:00
Jude Nelson
99329c1d80 return sorted names 2018-02-12 23:53:14 -05:00
Jude Nelson
b0eae9b03b force lowercase RR name 2018-02-12 19:47:41 -05:00
Jude Nelson
c37843aae1 print bad subdomain on error 2018-02-12 19:42:50 -05:00
Jude Nelson
6455ae2dd9 fix import 2018-02-12 19:35:42 -05:00
Jude Nelson
c6c75e0646 typo 2018-02-12 19:34:18 -05:00
Jude Nelson
803630f02f use atlas_get_peers() as a fallback 2018-02-12 19:25:09 -05:00
Jude Nelson
2e79429468 wait at most 5 minutes on child fork 2018-02-12 19:12:18 -05:00
Jude Nelson
45b5dcc5c8 early abort on subdomain name match test 2018-02-12 19:11:00 -05:00
Jude Nelson
0904e6f89c don't log invalid zone files' stack traces when parsing 2018-02-12 19:02:14 -05:00
Jude Nelson
c079b35234 a name can have 1 character excluding its tld 2018-02-12 19:02:00 -05:00
Jude Nelson
c55379df6d less verbose debug output 2018-02-12 19:01:48 -05:00
Jude Nelson
d9aa6c90e0 atlas.db and subdomain.db are now considered state paths 2018-02-12 18:39:06 -05:00
Jude Nelson
38d8ff4046 guard db_restore exception 2018-02-12 18:38:54 -05:00
Jude Nelson
0e708b391e typo 2018-02-12 16:58:34 -05:00
Jude Nelson
ae562068e6 method to get the subdomain db handle 2018-02-12 16:18:43 -05:00
Jude Nelson
24d5533949 document semantics on history queries 2018-02-12 11:00:32 -05:00
Jude Nelson
fcc05db338 move over the remaining blockstackd client methods to blockstackd 2018-02-12 11:00:13 -05:00
Jude Nelson
127fd48270 methods for making and parsing DIDs 2018-02-11 18:58:51 -05:00
Jude Nelson
05e96f6213 add method for getting a subdomain from a DID, and DID info from a subdomain 2018-02-11 18:58:34 -05:00
Jude Nelson
53e9b00e3a history may include a did 2018-02-11 18:58:23 -05:00
Jude Nelson
d1eec47ac8 add method for resolving DIDs to names, and getting DID info for a given name 2018-02-11 18:58:07 -05:00
Jude Nelson
378c4cbe98 add method to get the DID info for a name 2018-02-11 18:57:52 -05:00
Jude Nelson
79de506afa move subdomain version numbers to config for easier imports 2018-02-11 18:57:39 -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
eb8222f8ec remove unneeded debug 2018-02-11 18:56:55 -05:00
Jude Nelson
e64fc049cc remove dead code 2018-02-10 16:36:33 -05:00
Jude Nelson
b94d4320eb add method to identify a url's protocol 2018-02-09 19:18:12 -05:00
Jude Nelson
7f3625e6e1 explicit commit 2018-02-09 19:18:05 -05:00
Jude Nelson
e28438eed3 add a fast-path for inserting subdomains that don't reorg their histories due to ownership change (O(1) DB operations instead of O(N) operations for N existing updates). Also, only process a zone file at most once 2018-02-09 18:35:10 -05:00
Jude Nelson
bc9807e79a 10x the zone file size 2018-02-09 18:34:58 -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
600f2e4a56 constrain name class regex 2018-02-08 19:38:01 -05:00
Jude Nelson
673db70fc9 coerse string; fix import 2018-02-08 19:37:51 -05:00
Jude Nelson
d69734656b use the right query formatter 2018-02-08 19:16:28 -05:00
Jude Nelson
61b9ec1b93 use dedicated variable for queue file name 2018-02-08 19:16:15 -05:00
Jude Nelson
fc50f48fc9 handle timeouts in db queries 2018-02-08 19:16:06 -05:00
Jude Nelson
ec0d37cb20 handle db timeouts in the queue creation 2018-02-08 19:15:55 -05:00
Jude Nelson
8ce40b5462 fix up bugs in imports and packages 2018-02-08 19:15:12 -05:00
Jude Nelson
2d4c1af141 bugfixes: use the right variable; don't set the ping result to None unless there's an error 2018-02-08 19:13:26 -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
f65ab918ba use atlas_peer_exchange() over get_atlas_peers() 2018-02-08 17:01:47 -05:00
Jude Nelson
e1e6dee503 add atlas_peer_exchange() call 2018-02-08 17:01:36 -05:00