Commit Graph

7282 Commits

Author SHA1 Message Date
Jude Nelson
e1c8fef070 version bump to 0.18 2018-01-29 19:11:16 -05:00
Jude Nelson
85f31210c0 make compatible with 0.17.x by falling back to get_name_blockchain_record() if get_name_record() is not defined on the remote server 2018-01-29 19:10:55 -05:00
Jude Nelson
4637d1e0e3 whitespace 2018-01-29 19:10:38 -05:00
Jude Nelson
e0e64b4f6a version bump to 0.18 2018-01-29 19:10:31 -05:00
Jude Nelson
afa58ffc6c add daemonize() and db_query_execute() from blockstack_client 2018-01-29 19:10:13 -05:00
Jude Nelson
9e539d82c4 clean up imports 2018-01-29 19:10:03 -05:00
Jude Nelson
2b3d05aca2 don't calculate a zonefile hash unless we need to 2018-01-29 19:09:51 -05:00
Jude Nelson
07bec9dbbe fix spacing; add test for whether or not a subdomain name is well-formed 2018-01-29 19:09:31 -05:00
Jude Nelson
df19e94ca3 process subdomain-enqueued zone files once per block 2018-01-29 19:09:11 -05:00
Jude Nelson
4afe4ab356 use common db query execution code that handles database locks 2018-01-29 19:08:55 -05:00
Jude Nelson
6a135a035f add support for subdomain DB path, and for checking whether or not subdomains and atlas are enabled 2018-01-29 19:08:37 -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
7fd00dce46 guard access to in-RAM zonefile indexes with a mutex (now that multiple threads can write to it); have Atlas call a "storage callback" each time it processes a zonefile it did not previously have (which we leverage in the subdomain indexer) 2018-01-29 19:07:26 -05:00
Jude Nelson
fcb0555c8a fix whitespacing; add RPC methods for querying subdomain names and name histories; add code for queueing zone files for subdomain indexing 2018-01-29 19:06:49 -05:00
Jude Nelson
344c20f813 initial stab at a server-side subdomain indexer. Atlas and the RPC daemon will both queue up zone files to the subdomain indexer as they arrive, and the indexer will be activated once per block to re-process all subdomains in the names whose zone files arrived. This is based in part on the code from blockstack_client/subdomains.py, as well as subdomain_registrar/. It does not depend on blockstack_client. 2018-01-29 19:05:18 -05:00
Jude Nelson
cbf2b93a86 add schemas from blockstack_client 2018-01-29 19:05:05 -05:00
Jude Nelson
4fd0d45e54 add queue implementation 2018-01-29 19:04:59 -05:00
Jude Nelson
b8972060ba test for having blockstackd report when its block information is stale 2018-01-22 19:12:31 -05:00
Jude Nelson
8633963c7a API sync 2018-01-22 19:12:22 -05:00
Jude Nelson
968ec0ffb3 API sync 2018-01-22 19:12:16 -05:00
Jude Nelson
c357b98190 no longer honor zonefile, profile, or data storage config options 2018-01-22 19:12:01 -05:00
Jude Nelson
afa97edd25 remove zonefile storage drivers 2018-01-22 19:11:51 -05:00
Jude Nelson
f8e2da6cc0 getinfo can return stale and warning flags 2018-01-22 19:11:40 -05:00
Jude Nelson
f54ae2c30d report when we have not synced against the chain for a while (#722) 2018-01-22 19:11:21 -05:00
Jude Nelson
3ef71e2f71 Possible fix for #658 2018-01-22 17:54:44 -05:00
Jude Nelson
b66ff92afa improve name-transfer consensus hash quirk 2018-01-22 17:54:35 -05:00
Jude Nelson
7c30624944 typo 2018-01-22 17:54:27 -05:00
Jude Nelson
d0acaf65a5 explicitly restore 2018-01-22 17:24:14 -05:00
Jude Nelson
f3625ab040 bugfixes to restore 2018-01-22 17:21:58 -05:00
Jude Nelson
c02ddd9cfc tell state engine to restore 2018-01-22 17:13:13 -05:00
Jude Nelson
bdda580e04 TODO: do safety checks when exceeding quota 2018-01-22 16:57:20 -05:00
Jude Nelson
ee67be4987 test the name-transfer consensus hash quirk for various permutations of operations 2018-01-22 15:39:00 -05:00
Jude Nelson
df9c5b6a8f make sure that we check that the consensus hash quirk for name-transfers is preserved 2018-01-22 15:38:37 -05:00
Jude Nelson
f63f779abd completed TODO item 2018-01-22 15:38:13 -05:00
Jude Nelson
f16515e613 document the name-transfer consensus hash quirk better, and fix a bug in the case of multiple consecutive name-transfers 2018-01-22 15:37:52 -05:00
Jude Nelson
caa59d0039 remove now-unnecessary (and incorrect) test conditions 2018-01-21 00:58:40 -05:00
Jude Nelson
38cf56fdcd remove dead code 2018-01-21 00:58:29 -05:00
Jude Nelson
a9a002eee5 remove dead code 2018-01-21 00:58:15 -05:00
Jude Nelson
c76eddbac6 remove dead code 2018-01-21 00:58:06 -05:00
Jude Nelson
c3b52b2faa remove distracting comment 2018-01-21 00:57:54 -05:00
Jude Nelson
791ca93188 fix name-transfer quirk test to reflect the desired behavior 2018-01-20 16:18:19 -05:00
Jude Nelson
a4a9e29295 no longer need to save transfer_consensus_hash 2018-01-20 16:17:59 -05:00
Jude Nelson
fd91a265a0 attempt to fix name-transfer consensus hash quirk, and document real-world examples where it shows up 2018-01-20 16:17:34 -05:00
Jude Nelson
2d786a939b don't preserve nameop_consensus_hash in name-transfer (for now). It looks like we don't need it. 2018-01-20 16:17:13 -05:00
Jude Nelson
6c886da740 add ability to benchmark HTTP routes on blockstack api 2018-01-19 18:45:53 -05:00
Jude Nelson
2df2bbbc91 use get_name_record() where appropriate 2018-01-19 18:45:38 -05:00
Jude Nelson
3f63c5661a add get_name_record() proxy method; use where appropriate 2018-01-19 18:45:22 -05:00
Jude Nelson
7c3c874f08 use get_name_record() where appropriate 2018-01-19 18:45:11 -05:00
Jude Nelson
5ff1d34156 use get_name_record() where appropriate 2018-01-19 18:44:59 -05:00
Jude Nelson
a58f928c8a use get_name_record where appropriate 2018-01-19 18:44:47 -05:00