Commit Graph

1121 Commits

Author SHA1 Message Date
Jude Nelson
02d365509b fix expect_fail 2018-06-27 18:43:21 -04:00
Jude Nelson
06c5c8a0bd blow away blockstack_client. we're done here. 2018-06-27 17:41:22 -04:00
Jude Nelson
f3add2fc18 remove last vestiges of blockstack_client 2018-06-27 17:41:05 -04:00
Jude Nelson
47ce5bc3c5 remove programs we don't use 2018-06-27 17:39:55 -04:00
Jude Nelson
f3621fa5c9 Merge branch 'develop' into feature/blockstack_client_refactor 2018-06-27 17:36:34 -04:00
Jude Nelson
d3eca28cbc serialize all privkeys 2018-06-22 11:28:21 -04:00
Jude Nelson
33c5da8895 serialize all privkeys 2018-06-22 11:25:47 -04:00
Jude Nelson
4da17486fb remove all use of blockstack_client 2018-06-22 11:16:31 -04:00
Jude Nelson
1f1ff443dc remove all use of blockstack_client 2018-06-22 11:12:57 -04:00
Jude Nelson
b0dd67807e test that we get the right resolver when querying a name 2018-06-20 18:59:35 -04:00
Jude Nelson
ade7c41432 port test to new test runner 2018-06-20 18:59:26 -04:00
Aaron Blankstein
19cb51d8a2 force paging on the /v1/names/<name>/history endpoint 2018-06-20 18:57:44 -04:00
Jude Nelson
a68fbcdfe1 test looking up a subdomain from a domain name who is missing its latest zone file, and who has too many missing zone files 2018-06-20 18:57:35 -04:00
Jude Nelson
22cf8a40d2 test fetching a name's history in pages 2018-06-20 18:57:28 -04:00
Jude Nelson
4975f8849f when servicing a lookup on a subdomain whose domain does not have a _resolver entry, page back through the domain's history until we either find a zone file with a _resolver entry, or we try too many times, or we run out of name history 2018-06-20 18:57:18 -04:00
Jude Nelson
580a9f3dc5 test that we get the right resolver when querying a name 2018-06-20 18:51:38 -04:00
Jude Nelson
c8bc869b1b port test to new test runner 2018-06-20 18:51:26 -04:00
Aaron Blankstein
ec4ea24b20 force paging on the /v1/names/<name>/history endpoint 2018-06-20 17:49:38 -04:00
Jude Nelson
a729512099 test looking up a subdomain from a domain name who is missing its latest zone file, and who has too many missing zone files 2018-06-20 11:55:38 -04:00
Jude Nelson
226e8bea7c test fetching a name's history in pages 2018-06-20 11:55:29 -04:00
Jude Nelson
fb63becd3c when servicing a lookup on a subdomain whose domain does not have a _resolver entry, page back through the domain's history until we either find a zone file with a _resolver entry, or we try too many times, or we run out of name history 2018-06-20 11:55:09 -04:00
Jude Nelson
e0e302edf1 test looking up a subdomain from a domain name who is missing its latest zone file, and who has too many missing zone files 2018-06-20 11:45:36 -04:00
Jude Nelson
9b9b38a750 test fetching a name's history in pages 2018-06-20 11:45:19 -04:00
Jude Nelson
b9179da3d1 atlas peer exchange stress test 2018-06-18 18:43:14 -04:00
Jude Nelson
15a0c2e5cb atlas inventory stress test 2018-06-18 18:43:03 -04:00
Jude Nelson
13a7df46a8 fix up safety checks usage 2018-06-18 18:42:52 -04:00
Jude Nelson
f0e727c1b2 pass the genesis block to atlas peers 2018-06-18 18:42:37 -04:00
Jude Nelson
71708b3239 lots of tiny bugfixes 2018-06-16 14:49:04 -04:00
Jude Nelson
73b4691af8 verify token transfer lockups work with multisig 2018-06-16 11:51:27 -04:00
Jude Nelson
4ff6acb37b test that tokens can only be sent to whitelisted addresses, which happen to be multisig addresses 2018-06-16 11:51:10 -04:00
Jude Nelson
143b0a09cb test that tokens can only be sent to whitelisted addresses 2018-06-16 11:50:58 -04:00
Jude Nelson
3492cd4ac2 test all the ways a tokentransfer can fail 2018-06-16 11:50:47 -04:00
Jude Nelson
e58d95b3d3 make sure we can't pay for a namespace with a bech32 address 2018-06-16 11:50:31 -04:00
Jude Nelson
d2151a5c92 make sure we can't reveal a namespace with a bech32 address 2018-06-16 11:50:13 -04:00
Jude Nelson
50018b29cd test vesting and spending tokens at longer intervals to multisig addresses 2018-06-16 11:47:01 -04:00
Jude Nelson
5bef05f5fd test that we can preorder, reveal, ready, but not import names into a namespace with a multisig reveal address 2018-06-16 11:46:39 -04:00
Jude Nelson
d155c596c3 test that we cannot pay in stacks to a v2 namespace. test that btc and stacks work after the pay-to-namespace-creator interval passes 2018-06-16 11:37:58 -04:00
Jude Nelson
f379210269 make sure we cannot use tokens to pay for names in a v2 namespace whose pay-to-namespace-creator interval is still active. make sure we can use btc at all times 2018-06-16 11:37:30 -04:00
Jude Nelson
881e2f46cd make sure that we cannot pay in stacks when renewing in a v2 namespace whose pay-to-namespace-creator interval is still active. make sure that we can use bitcoin and/or stacks once the interval has passed 2018-06-16 11:37:00 -04:00
Jude Nelson
04a51bba9b make sure we can overpay and not underpay when renewing a name in stacks in a v2 namespace whose pay-to-namespace-creator interval has passed 2018-06-16 11:36:39 -04:00
Jude Nelson
022eada961 verify that register/renew in a v2 namespace can be done with stacks once the pay-to-namespace-creator window expires 2018-06-16 11:36:06 -04:00
Jude Nelson
0abd2fe70d since token addresses must be whitelisted to receive, explicitly declare all token addresses up front 2018-06-16 11:35:41 -04:00
Jude Nelson
a649d37ef9 test parsing with bech32 addresses 2018-06-16 11:35:30 -04:00
Jude Nelson
2487bf67ef test parsing with bech32 addresses 2018-06-16 11:35:22 -04:00
Jude Nelson
48e943b943 use the CLI for multisig 2018-06-16 11:30:03 -04:00
Jude Nelson
4f1b1017cc verify that a name preordered with stacks has its price checked in stacks, and not btc (even if enough btc was paid). a name that was paid for in stacks should only have its stacks cost checked, and if it is insufficient, it should be rejected 2018-06-11 18:57:41 -04:00
Jude Nelson
337b9bbd6a test that stacks payments will take precedent over btc payments, and that renewals are rejected even if the sender paid enough BTC but not enough stacks 2018-06-11 18:57:10 -04:00
Jude Nelson
58135c5db3 test preorder/register in a v2 namespace as it transitions to a v1-like namespace. make sure stacks tokens work then 2018-06-11 18:55:29 -04:00
Jude Nelson
352e7658dc test preorder/register with both stacks and btc, and underpay both. should spend both, but fail to register 2018-06-11 11:13:28 -04:00
Jude Nelson
3055f2ed99 test renewing with both underpaying stacks/btc; only btc should be spent 2018-06-11 11:12:48 -04:00