Commit Graph

6967 Commits

Author SHA1 Message Date
Jude Nelson
5dc9f7b6c1 less-verbose version-change reporting` 2017-11-06 19:17:25 -05:00
Jude Nelson
9edbbbf351 add subdomain entry config 2017-11-01 14:58:53 -04:00
Jude Nelson
30236bfb12 disable gc before the first fork 2017-10-31 20:55:30 -04:00
Jude Nelson
1ca62f3b2e expect SNV failure 2017-10-31 20:40:49 -04:00
Jude Nelson
4ad2369fa0 allow the test framework to set encryption parameters on the wallet 2017-10-31 20:40:31 -04:00
Jude Nelson
64deece4e7 garbage-collect explicitly when disabling/reenabling and when forking 2017-10-31 20:40:12 -04:00
Jude Nelson
a68f5273c5 log exception in test 2017-10-31 20:40:00 -04:00
Jude Nelson
3cdc697911 Merge branch 'hotfix/registrar-check-storage' into hotfix/did-support 2017-10-31 16:52:40 -04:00
Jude Nelson
df5c4125d2 add expected snv failures where appropriate 2017-10-31 16:50:00 -04:00
Jude Nelson
d6a9df91c7 launch the namespace (makes certain other methods work correctly) 2017-10-31 16:49:45 -04:00
Jude Nelson
4c5605e859 test that the registrar will not clear out a regup transaction if its zone file has not been replicated but the tx is nevertheless still confirmed 2017-10-31 16:48:58 -04:00
Jude Nelson
d42623d1d4 add test to verify that updates replicate zone files even if the blockchain advances in between replicating zonefiles (at 9 confirmations) and clearing them out (at 11 confirmations) in one registrar pass 2017-10-31 16:48:22 -04:00
Jude Nelson
9473388bf9 test register/renew zonefile propagation for when the blockchain advances beyond the 10 required confirmations faster than we can replicate 2017-10-31 16:48:00 -04:00
Jude Nelson
ad9dec6ee7 add lowlevel method to get a registrar queue 2017-10-31 16:47:46 -04:00
Jude Nelson
6cd81a1ee8 add epoch 2 end block info 2017-10-31 16:47:33 -04:00
Jude Nelson
9ace72ebc0 log host/port on failed atlas method 2017-10-31 16:47:18 -04:00
Jude Nelson
9d7ea8d451 add method to set a name's data in the registration queue 2017-10-31 16:47:06 -04:00
Jude Nelson
6a8cc72aa1 add fault-injection hooks for each step the registrar takes, so we can simulate race conditions where the blockchain advances while we're processing data replication. At the same time, update the registrar so it does not clear out a transaction if it hasn't replicated an associated zone file 2017-10-31 16:46:20 -04:00
Jude Nelson
ae81e8d55c fix import 2017-10-31 16:46:06 -04:00
Jude Nelson
941560cc15 version bump 2017-10-31 16:45:59 -04:00
Jude Nelson
8826c96a0f don't check for dids on names that were imported more than once 2017-10-31 14:33:55 -04:00
Jude Nelson
38bf496568 page size is 10 2017-10-31 14:33:42 -04:00
Jude Nelson
aaa4ebf3eb whitespace 2017-10-31 14:33:33 -04:00
Jude Nelson
8c3f10e822 check offset/count 2017-10-31 14:33:23 -04:00
Jude Nelson
172676580f don't restore unless we have to; always use snapshots if available 2017-10-31 12:34:00 -04:00
Jude Nelson
e3373f2c2f add timeout recovery to all rpc requests, to mask timeout failure in the test framework 2017-10-31 11:55:21 -04:00
Jude Nelson
5b2229b1e0 get_name_at() can return None; update DID resolution error message 2017-10-31 11:42:00 -04:00
Jude Nelson
68ab53755f add test for Blockstack DID resolution 2017-10-31 11:41:40 -04:00
Jude Nelson
79ef9626b4 better error message for when we can't load a profile due to a signature mismatch 2017-10-31 11:20:45 -04:00
Jude Nelson
531443c154 don't include history in snv-returned nameops. it's not trusted 2017-10-31 11:20:24 -04:00
Jude Nelson
ab2fce19bc make lookup_snv() return the actual profile. Add get_snv_blockchain_record for getting blockchain records with SNV 2017-10-31 11:11:59 -04:00
Jude Nelson
a4be04ffd1 Merge branch 'hotfix/nameop-library-support' into hotfix/did-support 2017-10-30 16:39:36 -04:00
Jude Nelson
930b03542c shorten timeout window to 75 minutes 2017-10-30 16:22:23 -04:00
Jude Nelson
375337f126 wait a bit longer on import zone files 2017-10-30 16:22:11 -04:00
Aaron Blankstein
c2884d048f adding owner address to resolver output v0.21.1-browser v0.19.1-browser v0.20.0-browser v0.20.1-browser v0.21.0-browser v0.21.2-browser v0.21.3-browser 2017-10-30 15:12:45 -04:00
Jude Nelson
7504818e7a auto-restore on restart from improper shutdown 2017-10-30 11:57:56 -04:00
Jude Nelson
ab8ba2afb7 push back test deadline to 89 minutes (trying to undercut the CI system) 2017-10-30 11:38:55 -04:00
Jude Nelson
0574ea2e01 keylib. 2017-10-30 11:38:48 -04:00
Jude Nelson
f760a0a3fc if the intermediate child that starts the API daemon does not exit after 60 seconds, assume a deadlock occurred and kill it directly. 2017-10-29 22:46:17 -04:00
Jude Nelson
bf56081cf0 add a test watchdog that will cause a test to abort after 2 hours. also, add jittery exponential back-off for influxdb connection retries 2017-10-29 22:38:25 -04:00
Jude Nelson
6807734dea typo 2017-10-29 22:38:18 -04:00
Jude Nelson
f88ff8010a abort on failed putimmutable 2017-10-28 13:36:59 -04:00
Jude Nelson
25ae384977 test did resolution automatically by constructing dids from api calls 2017-10-28 13:36:17 -04:00
Jude Nelson
f9fa58c7bf port 16264 is also http (for testing) 2017-10-28 13:35:57 -04:00
Jude Nelson
42b57c9268 reenable gc in grandchild 2017-10-28 13:35:38 -04:00
Jude Nelson
b9318b1c44 disable gc in intermediate child, and re-enable it in grandchild. appears to stop waitpid/gc deadlock in daemonization due to sqlite3 handles having custom __del__ implementations 2017-10-28 13:33:36 -04:00
Jude Nelson
3d09eb35e3 add test for creating an empty ID namespace without an APi server 2017-10-27 19:27:28 -04:00
Jude Nelson
e2b30f724b make a DID for each name we create, and verify that we can get the current blockchain record for it using our DID resolver algorithm 2017-10-27 19:26:28 -04:00
Jude Nelson
17fb989a31 add method for resolving a blockstack DID to a blockchain record 2017-10-27 19:25:57 -04:00
Jude Nelson
b122674893 fix up symbols 2017-10-27 19:25:47 -04:00