Commit Graph

7164 Commits

Author SHA1 Message Date
Jude Nelson
4c6562b5c8 nulldata can be None if it isn't parseable 2018-01-17 00:30:53 -05:00
Jude Nelson
544f265cf0 ~/.blockstack-server 2018-01-17 00:15:42 -05:00
Jude Nelson
a60916dec2 os.path.expanduser 2018-01-17 00:14:34 -05:00
Jude Nelson
d4f62bf917 only test availability and validity of zone file in zone file directory. no longer care about storing data through blockstack_client 2018-01-17 00:09:09 -05:00
Jude Nelson
a097d4fb8d bring up to date with current tx stucture in virtualchain 2018-01-17 00:08:51 -05:00
Jude Nelson
1feb34687d use is_atlas_enabled(); pass atlasdb path on subdomain lookup 2018-01-17 00:08:33 -05:00
Jude Nelson
9149abfe51 update comment 2018-01-17 00:08:26 -05:00
Jude Nelson
d8396f0884 state engine stores namespace buckets as a string now 2018-01-16 18:50:11 -05:00
Jude Nelson
b8c9b3377c formatting 2018-01-16 18:49:58 -05:00
Jude Nelson
7d59e85e5a api sync with fast_snapshot 2018-01-16 18:49:50 -05:00
Jude Nelson
68858e40b8 typo 2018-01-16 18:49:41 -05:00
Jude Nelson
f0153c277c rework announce text to send an announcement via a zone file hash 2018-01-16 18:49:27 -05:00
Jude Nelson
116afadd8a this test is non-deterministic because it depends on the order in which bitcoind packs blocks 2018-01-16 18:49:11 -05:00
Jude Nelson
ba684f913c make this runnable in the test runner (i.e. only 100 iterations) 2018-01-16 18:48:57 -05:00
Jude Nelson
32f16e5f96 remvoe dead code 2018-01-16 18:48:48 -05:00
Jude Nelson
f8ded9884a rework announce so that you can only send an announcement from a previously-sent zone file 2018-01-16 18:48:28 -05:00
Jude Nelson
c3c0659fd5 typo 2018-01-16 18:48:19 -05:00
Jude Nelson
9b4d08f845 remove the global atlasdb lock and rely instead on exponential back offs on lock contention. let sqlite3 handle locking 2018-01-16 18:47:52 -05:00
Jude Nelson
ef384f5164 use blockstack_put_zonefile() to save zonefiles to atlas; update atlas network sim calls with working_dir 2018-01-16 16:37:50 -05:00
Jude Nelson
383b451d6f add blockstack_put_zonefile() to send a zonefile to the test atlas network; fix working_dir 2018-01-16 16:37:22 -05:00
Jude Nelson
8ce89b2f24 expect snv failure on reveal-namespace collision 2018-01-16 16:37:05 -05:00
Jude Nelson
370a38cd91 working dir, put_zonefile 2018-01-16 16:36:55 -05:00
Jude Nelson
84d48db4ae need working_dir 2018-01-16 16:36:40 -05:00
Jude Nelson
3ddb2c5384 sync namespace CLI calls with new virtualchain tx structure 2018-01-16 16:36:19 -05:00
Jude Nelson
95427874a2 add method to set up the db 2018-01-16 16:36:08 -05:00
Jude Nelson
a5e23bfb45 when getting a name or namespace at a particular time under the condition that it must not be expired, don't return None if the name/namespace hadn't been registered/revealed at the given block height. The caller may be expecting a preorder 2018-01-16 16:35:34 -05:00
Jude Nelson
faca96fd51 missing cursor instantiation 2018-01-16 16:35:23 -05:00
Jude Nelson
c98e83bb1d typos and api sync 2018-01-16 16:35:14 -05:00
Jude Nelson
e93b576512 get_version_parts missing 2018-01-16 16:35:01 -05:00
Jude Nelson
6b331b9d2b fix imports 2018-01-16 16:34:51 -05:00
Jude Nelson
dea1d0ca85 missing self. 2018-01-16 16:34:41 -05:00
Jude Nelson
1a8ad99376 properly instantiate the namedb and atlasdb 2018-01-16 16:34:25 -05:00
Jude Nelson
927b390799 make compatible with new virtualchain 0.18 2018-01-16 16:34:13 -05:00
Jude Nelson
73db7b3e8d blockstackd no longer has a storage endpoint, so this test is deprecated 2018-01-16 16:33:56 -05:00
Jude Nelson
0e4c5cd498 test import keychain restore; store zonefiles to atlas directly 2018-01-16 11:08:47 -05:00
Jude Nelson
aa728b4e33 remove dead code 2018-01-15 18:06:26 -05:00
Jude Nelson
76f8d94893 change default repo branches 2018-01-14 15:54:53 -05:00
Jude Nelson
c25047e789 optionally create names if a given file is present. used for testing auxilliary tools 2018-01-14 15:54:17 -05:00
Jude Nelson
f44b77f2ba test trying to preorder and register 26 names in the same block 2018-01-14 15:53:15 -05:00
Jude Nelson
373a805ee6 test trying to register 26 names in the same block 2018-01-14 15:53:00 -05:00
Jude Nelson
740174e1a6 patch testlib to get profiles via storage drivers, not the indexer (which no longer does this) 2018-01-14 15:52:31 -05:00
Jude Nelson
b1e1846630 fix up name_import's find-previous logic to just ask the DB 2018-01-14 15:52:13 -05:00
Jude Nelson
0d6bff034c typo: get a cursor correctly 2018-01-14 15:52:00 -05:00
Jude Nelson
5f2671e728 must_equal constraints must include all public key columns (TODO: extract from DB schema) 2018-01-14 15:51:39 -05:00
Jude Nelson
145661c16b import hex_hash160 2018-01-13 23:51:07 -05:00
Jude Nelson
7a79500780 remove wrong comment 2018-01-13 23:50:49 -05:00
Jude Nelson
a64f4019c0 expose getting all namespace preorders; fix typo 2018-01-13 23:50:35 -05:00
Jude Nelson
6e3078b34e add back getting all namespace preorders; fix offset pagination for quering name history 2018-01-13 23:50:14 -05:00
Jude Nelson
16607e1a30 addresses can be 35 bytes 2018-01-13 23:49:57 -05:00
Jude Nelson
7fd8cd9a5e test pre/regup, update, expire, pre/regup, update in the same block 2018-01-13 22:56:40 -05:00