Commit Graph

812 Commits

Author SHA1 Message Date
Jude Nelson
8f40ffa5d6 fix DID testing so that we tolerate the case where names were processed in a different order in the same block than we expected 2018-02-18 23:17:06 -05:00
Jude Nelson
38736d62ff update the semantics of this test so we expect that a DID to an expired name does not point to the state of the re-registered name 2018-02-18 23:16:03 -05:00
Jude Nelson
cfb218e709 more rigorous testing of DIDs for names that were re-registered 2018-02-18 00:35:27 -05:00
Jude Nelson
69f28e23a0 use new blockstack.lib.client methods 2018-02-18 00:35:13 -05:00
Jude Nelson
f9756bea82 reroute through blockstack.lib.client 2018-02-18 00:34:52 -05:00
Jude Nelson
11286ce3b0 fix RPC max size in test 2018-02-18 00:34:41 -05:00
Jude Nelson
d7f9210f4e move old tests to the attic 2018-02-16 16:10:06 -05:00
Jude Nelson
7b65fc9984 use more keys to improve chance of (nondeterministic) success 2018-02-16 16:09:01 -05:00
Jude Nelson
9ecd6befc3 next_block() to ensure atlas db is sync'ed 2018-02-16 16:08:44 -05:00
Jude Nelson
0352f21b79 be a bit looser in our fee constraint 2018-02-16 16:08:34 -05:00
Jude Nelson
6e9abee64f remove unnecessary did check 2018-02-16 16:08:26 -05:00
Jude Nelson
306f2fbe4f test subdomains in fast-sync mode 2018-02-16 16:08:16 -05:00
Jude Nelson
8005c55dc8 test DID resolution on names affected by multiple operations in the same block 2018-02-16 16:08:00 -05:00
Jude Nelson
8e781a3133 test DIDs on expired and rereigstered names with multiple ops 2018-02-16 16:07:41 -05:00
Jude Nelson
03cb8d6c5a fix testing did resolution on revoked names 2018-02-16 12:12:59 -05:00
Jude Nelson
e37f0b8470 test registering, expiring, and reregistering a name in the same block, and verifying that the old and new DIDs are distinct and resolve to the expired and new name, respectively 2018-02-15 23:28:10 -05:00
Jude Nelson
ad8fab9ff4 test registering, expiring, and re-registering a name, and resolving both the expired and current name with different DIDs 2018-02-15 23:27:42 -05:00
Jude Nelson
59e889522d make sure old DIDs resolve 2018-02-15 23:27:21 -05:00
Jude Nelson
1a7d2a6025 test getting subdomain history 2018-02-15 23:27:09 -05:00
Jude Nelson
8d023e3a12 sync to API 2018-02-15 23:26:58 -05:00
Jude Nelson
4aabc1e2bb Merge branch 'develop' of https://github.com/blockstack/blockstack-core into develop 2018-02-15 17:56:59 -05:00
Aaron Blankstein
cd232a6f39 forward the RPC client port to the broadcaster and subdomain registrar 2018-02-15 17:55:54 -05:00
Jude Nelson
d015393bcc deprecate tests for features that are no longer handled by this package 2018-02-15 16:17:11 -05:00
Aaron Blankstein
d35e294c00 wipe tx and subdomain dbs between browser_env restarts 2018-02-15 15:08:57 -05:00
Aaron Blankstein
1a4a4a1869 add nodejs subdomain-registrar to the browser_env scenario and dockerfile 2018-02-15 12:27:12 -05:00
Jude Nelson
37a8a1783b Merge branch 'develop' of https://github.com/blockstack/blockstack-core into develop 2018-02-14 18:39:49 -05:00
Jude Nelson
d94904891b test getting the name/subdomain DID 2018-02-14 17:43:15 -05:00
Aaron Blankstein
8c5d06ddc5 fix api-tests to match change in history response, use is_subdomain instead of is_address_subdomain for boolean testing 2018-02-14 17:19:00 -05:00
Aaron Blankstein
c1519cde58 add transaction-broadcaster to integrationtests dockerfile. add new scenario which will spawn that broadcaster. update integrationtests docs with the ports to open 2018-02-14 16:47:13 -05:00
Jude Nelson
5cc6c60403 allow testing subdomain reindexing with an explicit start block 2018-02-12 16:18:58 -05:00
Jude Nelson
11dcbc7165 test initial subdomain indexing 2018-02-12 16:17:34 -05:00
Jude Nelson
ca0231b992 Merge branch 'feature/blockstackd-subdomain-indexing' into develop 2018-02-12 11:03:36 -05:00
Jude Nelson
57880e4198 use blockstack's client, not blockstack_client's client 2018-02-12 11:02:45 -05:00
Jude Nelson
d773e29ebe make consistent with API 2018-02-12 11:02:35 -05:00
Jude Nelson
cc96df9267 WIP: test for subdomain lookups on the REST API 2018-02-11 19:00:23 -05:00
Jude Nelson
8f01caf1ab when rebuilding the subdomain db on sanity check, also test DID resolution 2018-02-11 19:00:05 -05:00
Jude Nelson
50481319d9 generate the address with the right encoding so DID tests pass 2018-02-11 18:59:51 -05:00
Jude Nelson
c11773c0b0 fix a couple bugs; do a subdomain replay on each test 2018-02-09 19:18:43 -05:00
Jude Nelson
4b88c7ed99 test large zone files with 100 subdomains each 2018-02-09 19:18:27 -05:00
Jude Nelson
0670ab4d31 add atlas_peer_exchange() to the atlas network simulator 2018-02-08 19:17:18 -05:00
Jude Nelson
cb54a26cc4 use the right function calls 2018-02-08 19:17:01 -05:00
Jude Nelson
172b41d09f version bump 2018-02-08 19:16:50 -05:00
Aaron Blankstein
f9ed5e406c add environment variable BSK_SUBDOMAIN_REGTEST_BIND for binding subdomain registrar in regtest 2018-02-08 14:40:57 -05:00
Jude Nelson
4607063c98 make sure subdomain transfers can only happen on their domains 2018-02-07 19:06:29 -05:00
Jude Nelson
bdd448c496 verify that adding the "_missing" TXT RR stops a subdomain from showing up as pending if only the listed zone files are actually missing 2018-02-07 19:06:02 -05:00
Jude Nelson
708c1c002b make sure we can reorg a pending subdomain's owner history, but that it shows as not pending once reorged 2018-02-07 19:05:38 -05:00
Jude Nelson
b03a1f13e2 verify that domain names show up as pending if the domain name is missing any zone files 2018-02-07 19:05:20 -05:00
Jude Nelson
8f68a98edd verify that we can transfer subdomains via their domain names 2018-02-07 19:04:56 -05:00
Jude Nelson
18cfa89bf9 make sure we change the domain name on each update 2018-02-07 19:04:18 -05:00
Jude Nelson
7173c91e3b really test independence--change the domain name each time we send an update 2018-02-07 19:03:37 -05:00