Commit Graph

806 Commits

Author SHA1 Message Date
Aaron Blankstein
4876fefdd2 subdomain property zonefile_txt should be zonefile so it matches domains 2018-03-03 10:41:20 -05:00
Aaron Blankstein
3c088e8528 bump version 2018-03-01 06:12:04 -05:00
Aaron Blankstein
53cab2ed74 version bump 2018-02-27 16:50:16 -05:00
Aaron Blankstein
a1f3874cf4 fix subdomain name record schema validation 2018-02-27 16:49:10 -05:00
Jude Nelson
e466809eff check that DIDs are strings 2018-02-26 16:58:02 -05:00
Jude Nelson
c02d964734 update signing key 2018-02-19 19:07:47 -05: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
24309d8481 save RPC public IP once we know it 2018-02-19 14:46:17 -05:00
Jude Nelson
e426f8e779 log better 2018-02-19 14:37:22 -05:00
Jude Nelson
3c15e5c961 use STUN to discover the host's public IP 2018-02-19 14:37:09 -05:00
Jude Nelson
b151ed71e1 remove dead code 2018-02-19 14:36:57 -05:00
Jude Nelson
cebf9618c0 better zonefile accounting 2018-02-19 13:36:57 -05:00
Jude Nelson
bf9ae9cf2a don't back up the atlas and subdomain dbs twice 2018-02-19 13:02:57 -05:00
Jude Nelson
b5adff9526 don't return expired names by default 2018-02-18 23:15:46 -05:00
Jude Nelson
ca55b3ce79 return expired names by default. let the client figure out that they are expired 2018-02-18 23:15:22 -05:00
Jude Nelson
8d8d2d1218 don't accidentally treat _missing (or a few other reserved RR names) as subdomain records 2018-02-18 00:33:56 -05:00
Jude Nelson
d6d3777c58 fix max RPC size to be 10x the max zonefile size (since we accept at most 5 base64-encoded zone files) 2018-02-18 00:33:32 -05:00
Jude Nelson
4bfc224af8 fix DID resolution 2018-02-18 00:32:52 -05:00
Jude Nelson
9648242d25 remove excess debugging output 2018-02-16 12:12:46 -05:00
Jude Nelson
900b4ae3af remove print 2018-02-16 12:12:39 -05:00
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
abbe2d8143 typo 2018-02-15 23:25:49 -05:00
Jude Nelson
0bc53d9cf2 only initialize subdomains once 2018-02-15 16:16:34 -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
f8cea99df3 add api calls to get name/subdomain DIDs 2018-02-14 17:43:01 -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
470d3d5c39 don't report the DIDs of names and subdomains in the whois info (make this a separate method) 2018-02-12 23:49:28 -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
f2e9660bd4 reindex, not index 2018-02-12 19:02:33 -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
d13f18c879 on daemonize, exit if we're the parent. Also, don't use legacy bitcoind opts parser, and fix bugs in early CLI parsing to remove opts that would cause us to re-exec 2018-02-12 18:38:27 -05:00
Jude Nelson
1dde829c72 use get_state_paths() correctly 2018-02-12 17:03:09 -05:00
Jude Nelson
0e708b391e typo 2018-02-12 16:58:34 -05:00