Commit Graph

562 Commits

Author SHA1 Message Date
Jude Nelson
278d656bf1 version bump; omit unneeded safety check on namespace_reveal (thanks @mark!) 2017-10-12 11:12:36 -04:00
Jude Nelson
63e822e405 bump version 2017-10-11 23:28:44 -04:00
Jude Nelson
19685fb5ee deny gzipped data 2017-10-11 19:07:10 -04:00
Jude Nelson
8cd29bb2d1 only check rc value, not exit bits 2017-10-11 17:26:25 -04:00
Jude Nelson
29b4e5d94b minimim allowed block can be 1 when testing 2017-10-11 17:26:13 -04:00
Jude Nelson
4888f5bd87 whitespace 2017-10-11 15:30:28 -04:00
Jude Nelson
5aca5c3a1b harden the RPC interface: deny messages over a certain size and type-check all parameters 2017-10-11 14:38:16 -04:00
Aaron Blankstein
5c64459b29 version bump 2017-10-10 19:20:06 -04:00
Aaron Blankstein
1f76a31466 hotfix version bump 2017-10-10 19:03:54 -04:00
Jude Nelson
13eb9b4141 remove rpc_get_zonefiles_by_names(); remove deprecated profile-verification-by-hash (we now use timestamp+signature to stop replay attacks) 2017-10-10 11:20:15 -04:00
Aaron Blankstein
b715a8713a version bump for hotfix 2017-10-09 17:10:21 -04:00
Jude Nelson
9dfac76c72 version bump 2017-10-08 01:03:47 -04:00
Jude Nelson
0d450dca9a expanduser on snapshots path 2017-10-05 12:33:29 -04:00
Jude Nelson
18ef1a5ac1 verbose output when using the CLI 2017-10-05 12:15:38 -04:00
Jude Nelson
e54dd15e32 select zonefiles that are present 2017-10-05 12:15:26 -04:00
Jude Nelson
0113c1d17c better output on fast_sync 2017-10-05 12:15:16 -04:00
Jude Nelson
3adbc2bc11 don't require url on fast_sync 2017-10-04 19:02:07 -04:00
Jude Nelson
a4c77e3294 require 0.17 or newer 2017-10-04 17:54:43 -04:00
Jude Nelson
33a1c1d995 abort when the config version is obsolete 2017-10-04 17:54:27 -04:00
Jude Nelson
effc2d6db3 a NAME_REGISTRATION/NAME_RENEWAL's burn address must go to a v2 namespace's address for the first year (fee collection period) of its existence, starting from its reveal block. after that, fees go to the null burn address (to discourage squatting or gratuitous namespace registration) 2017-10-04 00:03:54 -04:00
Jude Nelson
f13df668a5 introduce a fixed interval of time during which a v2 namespace can collect fees. 2017-10-04 00:03:19 -04:00
Jude Nelson
5d0bcbce19 plug DoS problem whereby a namespace can be preordered by a non-p2pkh script (this is allowed; this fix stops nodes from crashing when it happens) 2017-10-03 13:07:20 -04:00
Jude Nelson
36e506e18b feed stdout and stderr to the parent process when doing a sqlite3 backup, so we can properly catch database-lock errors 2017-10-01 16:31:50 -04:00
Jude Nelson
b8f340c3a1 preserve sender_pubkey across renewal 2017-10-01 14:37:45 -04:00
Jude Nelson
4e579bdbed fix debug output on burn fee 2017-09-29 18:09:58 -04:00
Jude Nelson
c2c293f040 Merge branch 'develop-hardfork' of https://github.com/blockstack/blockstack-core into develop-hardfork 2017-09-29 16:04:14 -04:00
Jude Nelson
65147a144e print exceptions in test mode 2017-09-29 16:03:27 -04:00
Aaron Blankstein
c91d130d97 fix logging typo 2017-09-29 15:28:26 -04:00
Jude Nelson
3550d9bff3 version bump 2017-09-29 02:00:16 -04:00
Jude Nelson
3961f9cd2c minimum atlas version is now 0.17 2017-09-29 01:59:39 -04:00
Jude Nelson
b61ab54747 don't forget namespace lifetime multiplier 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
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
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
64f9c1f951 remove analytics; pass along expire_block and renewal_deadline 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