Commit Graph

6610 Commits

Author SHA1 Message Date
Jude Nelson
8fcf8db856 require virtualchain 0.17 2017-09-29 02:01:26 -04:00
Jude Nelson
8856c3aed0 use only disk by default (as we do in develop) 2017-09-29 02:01:15 -04:00
Jude Nelson
a5cd5033ba require 0.17 2017-09-29 02:01:05 -04:00
Jude Nelson
f328b81b3f remove keyfile 2017-09-29 02:00:59 -04:00
Jude Nelson
c70767d481 clean up schemas and regexes for app names 2017-09-29 02:00:46 -04:00
Jude Nelson
792b4a2df9 use rpc.py from develop branch, which still has legacy gaia 2017-09-29 02:00:33 -04:00
Jude Nelson
fc2a1c3104 version bump 2017-09-29 02:00:26 -04:00
Jude Nelson
3550d9bff3 version bump 2017-09-29 02:00:16 -04:00
Jude Nelson
dfac4311bb remove keyfile logic and revert to profiles (artifact of rebase) 2017-09-29 01:59:56 -04:00
Jude Nelson
3961f9cd2c minimum atlas version is now 0.17 2017-09-29 01:59:39 -04:00
Jude Nelson
b2e7da1ecd preorder, register, preorder, expire, grace period, register 2017-09-29 00:50:03 -04:00
Jude Nelson
8345173f37 test register/expire/renew when each operation is done in parallel 2017-09-29 00:50:03 -04:00
Jude Nelson
10abec9f38 test multiple register/expire/renew 2017-09-29 00:50:03 -04:00
Jude Nelson
148c785442 add tests for new name/namespace prices 2017-09-29 00:50:02 -04:00
Jude Nelson
b61ab54747 don't forget namespace lifetime multiplier 2017-09-29 00:50:02 -04:00
Jude Nelson
a3d55485f9 update test to reflect expiring preorder 2017-09-29 00:50:02 -04:00
Jude Nelson
c144818f9c test import, preorder, expire, grace period, register 2017-09-29 00:50:02 -04:00
Jude Nelson
af3b06acfe test that looking up a name that is in the grace period fails 2017-09-29 00:50:02 -04:00
Jude Nelson
6c32005d5a pass along zonefile, keyfile, and new owner; fix #316 2017-09-29 00:50:02 -04:00
Jude Nelson
3cfabbc56a indexer returns an 'expired' flag now 2017-09-29 00:50:02 -04:00
Jude Nelson
4db28f08cb propagate new zonefile and keyfile on processing a name renew 2017-09-29 00:50:02 -04:00
Jude Nelson
d2d59ff094 include new owner, new zonefile, and new keyfile in renew 2017-09-29 00:50:02 -04:00
Jude Nelson
c7db000beb include keyfile in register; include zonefile and new owner in renew; fix sync_zonefile 2017-09-29 00:50:02 -04:00
Jude Nelson
9563b9bcf4 a preorder will expire in min(144, namespace['lifetime']) blocks 2017-09-29 00:50:02 -04:00
Jude Nelson
8eb8028bb8 log deletes 2017-09-29 00:50:02 -04:00
Jude Nelson
5aec8946d1 f-day 2014 is at 488500; renewal grace period is 5000 blocks; price multiplier for names and namespaces is 1/10 2017-09-29 00:50:02 -04:00
Jude Nelson
c1825c868a return whether or not a name is expired 2017-09-29 00:50:02 -04:00
Jude Nelson
97c3c994c9 if we don't have UTXOs yet, then simulate them 2017-09-29 00:50:02 -04:00
Jude Nelson
bf32a6161e test preorder and reg/up with explicit transfer 2017-09-29 00:50:02 -04:00
Jude Nelson
e56916d09b test preorder and reg/up with transfer 2017-09-29 00:50:02 -04:00
Jude Nelson
f1fcfc0330 test preorder and reg/up with the registrar 2017-09-29 00:50:02 -04:00
Jude Nelson
acf289ee9c verify that a name transferred can still be renewed and transfered and updated 2017-09-29 00:50:02 -04:00
Jude Nelson
5a59a1caf6 check that a name can be reregistered if preordered during the grace period but not renewed 2017-09-29 00:50:02 -04:00
Jude Nelson
e34660bcf5 check that a squatter will be thwarted by a renewal during the grace period 2017-09-29 00:50:02 -04:00
Jude Nelson
a7fa55339a test that a squatter can't steal a name while it's in the grace period 2017-09-29 00:50:02 -04:00
Jude Nelson
c85c06452e value_hash -> zonefile_hash 2017-09-29 00:50:02 -04:00
Jude Nelson
4534ebafc9 zonefile hash, not value hash; fix SNV check when there are operations that both succeed and fail at a block 2017-09-29 00:50:02 -04:00
Jude Nelson
77630a4bb2 api sync with npm run 2017-09-29 00:50:01 -04:00
Jude Nelson
531e74341e log all 401's 2017-09-29 00:50:01 -04:00
Jude Nelson
b3e2122396 value_hash -> zonefile_hash 2017-09-29 00:50:01 -04:00
Jude Nelson
b1c835686c fix key conversion 2017-09-29 00:50:01 -04:00
Jude Nelson
59fe228de4 value_hash -> zonefile_hash 2017-09-29 00:49:38 -04:00
Jude Nelson
99243c4a8a handle reg/up transactions by broadcasting their zone files and keyfiles once the registration confirms 2017-09-29 00:49:38 -04:00
Jude Nelson
6cd8245d86 record whether or not a registration is really a reg/up 2017-09-29 00:49:38 -04:00
Jude Nelson
443d17395e register and update take zone files and new addresses as arguments; rename value_hash to zonefile_hash 2017-09-29 00:49:38 -04:00
Jude Nelson
b081f3d885 WIP: renew takes a zone file and a new address 2017-09-29 00:49:38 -04:00
Jude Nelson
5842fed87a op_fee can be None, if it is not given 2017-09-29 00:49:38 -04:00
Jude Nelson
c6e7399c46 add methods to get the last block and consensus hashes 2017-09-29 00:49:38 -04:00
Jude Nelson
511679c03e check version, block height, and consensus hash when talking to other atlas nodes 2017-09-29 00:49:38 -04:00
Aaron Blankstein
59488fbc57 a bunch of hacks to try to get integration test framework to work with disk+(gaia_hub or dropbox) 2017-09-29 00:49:38 -04:00