Commit Graph

336 Commits

Author SHA1 Message Date
Jude Nelson
511679c03e check version, block height, and consensus hash when talking to other atlas nodes 2017-09-29 00:49:38 -04:00
Jude Nelson
7145bcfee8 don't allow transfer if we're in the renewal grace period 2017-09-29 00:49:37 -04:00
Jude Nelson
1860edb8f6 don't allow update if we're in the renewal grace period 2017-09-29 00:49:37 -04:00
Jude Nelson
f74e14c033 don't allow revoke if we're in the name renewal grace period 2017-09-29 00:49:37 -04:00
Jude Nelson
6de96721b0 don't clear out sender_pubkey 2017-09-29 00:49:37 -04:00
Jude Nelson
6063d4b5e5 add checks to see if the name is in the renewal grace period 2017-09-29 00:49:37 -04:00
Jude Nelson
d880b43031 include grace period in name expiration calculation 2017-09-29 00:49:37 -04:00
Jude Nelson
4620edf6e7 include epoch config for grace period 2017-09-29 00:49:36 -04:00
Jude Nelson
0451d81d92 log renewal fee 2017-09-29 00:49:36 -04:00
Jude Nelson
f6fe5bb18d comment on burn addr 2017-09-29 00:49:36 -04:00
Jude Nelson
442457ddbe rearrange a few things so test framework constants get set correctly 2017-09-29 00:49:35 -04:00
Jude Nelson
d65269d5bd burn_address is an indirect consensus field 2017-09-29 00:49:35 -04:00
Jude Nelson
86776315de remove unused code 2017-09-29 00:49:35 -04:00
Jude Nelson
ba6379df18 After F-day 2017, a NAME_REGISTRATION and NAME_RENEWAL may correspond to a namespace that requires the user pay the namespace creator (a version-2 namespace). Enforce this at the consensus level---a NAME_REGISTRATION and NAME_RENEWAL are only valid in a version-2 namespace if the user paid the namespace creator 2017-09-29 00:49:35 -04:00
Jude Nelson
9caa75e0fd extract burn address and outputs from the transaction; remember the burn address to validate NAME_REGISTRATIONs and NAME_RENEWALs that follow 2017-09-29 00:49:33 -04:00
Jude Nelson
b3246f9b35 after F-day 2017, allow version-2 namespaces (which allow pay-to-creator for name registration). Update the consensus logic to (1) check for version-2 if we're in the relevant epoch, and if so, require users to send their name fees to the NAMESPACE_PREORDER's payment address 2017-09-29 00:49:32 -04:00
Jude Nelson
97cd614921 back up burn address on NAMESPACE_REVEAL; obtain burn address from outputs; obtain fee from outputs 2017-09-29 00:49:31 -04:00
Jude Nelson
f57c1e14b2 delegate determining the burn output and value to the operation; don't try to do it universally 2017-09-29 00:49:30 -04:00
Jude Nelson
6f6a1c401e add get_preorders_at() 2017-09-29 00:49:27 -04:00
Jude Nelson
37604b8b9c slightly stronger assertions when creating state regarding what has to be in the preorder operation; allow an operation to stipulate that additional fields be backed up by a successor operation besides its consensus fields 2017-09-29 00:49:26 -04:00
Jude Nelson
0f50609d4e define pay-to-burn versus pay-to-creator namespace version bits 2017-09-29 00:49:26 -04:00
Jude Nelson
a447cabb3e use new price table for namespace price calculation 2017-09-29 00:49:26 -04:00
Jude Nelson
28b2e49c37 allow register to include a zone file hash; allow renew to include a zone file hash and a new recipient. 2017-09-29 00:49:26 -04:00
Jude Nelson
9526be7579 register and renew can include a zone file hash, so check these operations when queuing zone file hashes to atlas 2017-09-29 00:49:25 -04:00
Jude Nelson
e52071d572 add epoch 3--reduces namespace prices, enables renew/transfer/update in one tx, enabled register/update in one tx. 2017-09-29 00:49:25 -04:00
Jude Nelson
04f265d8df safety check if no addresses are visible in the output 2017-09-29 00:49:02 -04:00
Aaron Blankstein
c6125f5efe bug needs to use a tuple, not the generator 2017-09-29 00:48:49 -04:00
Aaron Blankstein
08e390b288 version bump plus fix in the migration code 2017-09-29 00:48:49 -04:00
Aaron Blankstein
e90550858b bug needs to use a tuple, not the generator 2017-09-14 13:47:49 -04:00
Aaron Blankstein
77f76166ae version bump plus fix in the migration code 2017-09-14 13:42:15 -04:00
Aaron Blankstein
c878b62c8a /usr/bin/env python -> python2. our code is not python3 friendly, we should specify that 2017-08-17 13:40:01 -04:00
Aaron Blankstein
80bfb1fe68 Merge branch 'master' into subdomain 2017-08-10 16:59:17 -04:00
Jude Nelson
15ab788e3f raw=True when storing other peoples data 2017-08-10 16:56:58 -04:00
Aaron Blankstein
e0cb5f04f6 support for greedily filling the subdomain cache by querying blockstack core for new zonefiles 2017-08-08 15:00:52 -04:00
Aaron Blankstein
299bf350c3 start of getting everything to be a bit more greedy in building up subdomains 2017-08-07 19:08:55 -04:00
Aaron Blankstein
93d07d68b3 This reverts us *all* the way back to 523cf405d7 -- this removes all changes to support the token file from this branch.
Revert "added example request and response for PUT /v1/wallet/keys/owner to api docs"

This reverts commit d52ee4b31e.

Revert "cutting down on the verbosity of logging outputs -- registrar now only prints 1 line on wakeups. storage drivers are concatenated into 1 line"

This reverts commit 87e3e7ab0d.

Revert "adding dropbox as a default storage driver to load, and switched default 'required' drivers to 'disk,dropbox'"

This reverts commit 9471b0a20a.

Revert "adding test case for issue 483, which *also* required fixing the app session schema to handle empty string methods a little bit more gracefully"

This reverts commit 32efc99d62.

Revert "bugfix for the address reencoding in get_zonefile -- checks to see if the address is an address before trying to reencode"

This reverts commit 1488013b93.

Revert "Merge branch 'rc-0.14.3' of github.com:blockstack/blockstack-core into rc-0.14.3"

This reverts commit f75ab67960, reversing
changes made to fe863bcd3c.

Revert "don't create the metadata dir"

This reverts commit fe863bcd3c.

Revert "make all metadata directories inside the critical section"

This reverts commit e66236abd2.

Revert "don't cast 'None' to string by accident"

This reverts commit c6250d5349.

Revert "force string"

This reverts commit e72d43d0be.

Revert "add unbound proxy variable"

This reverts commit 7f1f7e9731.

Revert "return raw zonefile"

This reverts commit 51e858428d.

Revert "force string"

This reverts commit 1ce371644f.

Revert "force string"

This reverts commit 5353cb1015.

Revert "require virtualchain rc-0.14.3 and jsontokens-py 0.0.4"

This reverts commit 346f042db7.

Revert "Merge branch 'rc-0.14.3' of https://github.com/blockstack/blockstack-core into rc-0.14.3"

This reverts commit 1fa1de3e54, reversing
changes made to 523cf405d7.
2017-07-10 14:59:23 -04:00
Jude Nelson
30b91122d8 Merge branch 'rc-0.14.3' of https://github.com/blockstack/blockstack-core into rc-0.14.3 2017-07-05 17:40:03 -04:00
Jude Nelson
e66483e2a3 use new get_mutable_data and put_mutable_data 2017-07-04 23:37:34 -04:00
Aaron Blankstein
7ee99f2ee0 dangerous registrations! ignore safety! 2017-07-04 16:29:13 -04:00
Jude Nelson
95d9e52216 make Atlas test-debug statements quieter 2017-06-19 23:24:33 -04:00
Jude Nelson
23e8e69009 TODO notes 2017-06-15 11:19:07 -04:00
Jude Nelson
0f2a70d7b5 use latest snapshot public key 2017-05-08 18:39:46 -04:00
Jude Nelson
5bab713635 add debug message when loading zonefiles 2017-05-02 22:57:30 -04:00
Jude Nelson
0ab379e1c1 pass zonefile_storage_drivers_write 2017-05-02 22:50:53 -04:00
Jude Nelson
4776ccfad6 differentiate between read and write drivers for profiles, zonefiles, and data 2017-05-02 22:47:20 -04:00
Jude Nelson
43f1b8ec3c update default fast-sync pubkey to latest one used on our snapshot server 2017-04-27 19:48:35 -04:00
Jude Nelson
46b085eb55 clean up imports; sync with storage API when storing mutable data as part of the storage gateway 2017-04-27 19:23:49 -04:00
Jude Nelson
d6884b2929 clean up imports 2017-04-27 19:23:35 -04:00
Jude Nelson
70606144ae clean up imports 2017-04-27 19:23:26 -04:00
Jude Nelson
15bcb452ee clean up imports 2017-04-27 19:23:15 -04:00