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 |
|
Jude Nelson
|
47ffb6c655
|
add db_format_query
|
2018-02-07 19:02:49 -05:00 |
|
Jude Nelson
|
821e7d4d62
|
rewrite subdomain processor to support history reorgs on subdomains based on ownership or sequence number conflicts, and have the subdomain query method determine at runtime whether or not the subdomain is in a "pending" state (i.e. are there missing zone files out there that could reorg the subdomain's owner)
|
2018-02-07 19:02:02 -05:00 |
|
Jude Nelson
|
9091720bd3
|
add 'pending' field
|
2018-02-07 19:01:50 -05:00 |
|
Jude Nelson
|
79742bc8c1
|
use db_format_query
|
2018-02-07 19:01:43 -05:00 |
|
Jude Nelson
|
68c0b1fd33
|
add method to count missing zone files by name
|
2018-02-07 19:01:28 -05:00 |
|
Jude Nelson
|
b9ad8cba1d
|
WIP: address some of the concerns in #726. Only allow an address-change from a subdomain's creator domain (for now; needs testing). Also, be more efficient in how we address subdomain reorgs
|
2018-02-02 18:40:25 -05:00 |
|
Jude Nelson
|
13c415cb6e
|
not required to build up the subdomain index using the instance provided in the db state
|
2018-02-02 18:39:51 -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
|
d8e769577c
|
bugfix: reindex a subdomain across different updates in different names. Also, add the ability to reindex from scratch, and add methods to explicitly clear the subdomain db. Also, add subdomain history query methods
|
2018-01-30 17:42:49 -05:00 |
|
Jude Nelson
|
d773ce5bf1
|
add name to subdomain fields; relax required history fields for subdomains
|
2018-01-30 17:42:21 -05:00 |
|
Jude Nelson
|
e6249729ad
|
on fast-sync, capture the subdomain.db database
|
2018-01-30 17:42:05 -05:00 |
|
Jude Nelson
|
c2fe7fec55
|
track first block for subdomains
|
2018-01-30 17:41:48 -05:00 |
|
Jude Nelson
|
bdcaf5a08d
|
bugfix: have Atlas tell the subdomain indexer when a zonefile arrives
|
2018-01-30 17:41:30 -05:00 |
|
Jude Nelson
|
f172e0a58a
|
fix up imports
|
2018-01-30 17:41:15 -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 |
|