Commit Graph

74 Commits

Author SHA1 Message Date
Jude Nelson
86b57aaf48 add config file parsing code from blockstack_client, so we no longer depend on it. Similar for semver parsing and environment variable munging 2018-01-12 18:24:22 -05:00
Jude Nelson
6807734dea typo 2017-10-29 22:38:18 -04:00
Jude Nelson
a4c77e3294 require 0.17 or newer 2017-10-04 17:54:43 -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
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
4620edf6e7 include epoch config for grace period 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
0f50609d4e define pay-to-burn versus pay-to-creator namespace version bits 2017-09-29 00:49:26 -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
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
7ee99f2ee0 dangerous registrations! ignore safety! 2017-07-04 16:29:13 -04:00
Jude Nelson
0f2a70d7b5 use latest snapshot public key 2017-05-08 18:39:46 -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
63dda984a0 clean up imports 2017-04-27 19:22:08 -04:00
Jude Nelson
29389dea8a get version from blockstack_client 2017-03-28 11:12:01 -04:00
Jude Nelson
2c2353b10d remove pybitcoin import 2017-03-27 15:11:53 -04:00
Jude Nelson
b4d4255682 by default, back up every 144 blocks 2017-03-01 19:18:20 -05:00
Jude Nelson
72a1226796 just have one public key for fast_sync (for now; will up to 3 on release) 2017-02-20 20:52:24 -05:00
Jude Nelson
f91a8d6932 add config options for activating and using the storage gateway; remove announcement API since it's duplicated in the client library. 2017-01-30 01:34:20 -05:00
Jude Nelson
fa2214e1db hard-coded fast_sync public key 2017-01-23 19:03:23 -05:00
Jude Nelson
e812f25830 merge from rc-0.14.1 2017-01-17 11:18:42 -05:00
Jude Nelson
fa458bdaeb push deadline for hard fork to 436650 2016-10-28 16:48:27 -04:00
Jude Nelson
a2f0ec0a63 fast_getlastblock 2016-10-28 11:22:19 -04:00
Jude Nelson
11821fe87a take ownership of global config state getters/setters; also, enable disk
and dht for zonefile storage drivers by default
2016-10-27 00:03:09 -04:00
Jude Nelson
eaed8bd49d DRY up op_get_opcode_name 2016-10-24 03:18:09 -04:00
Jude Nelson
5508e89ca5 pass along virtualchain implementation 2016-10-10 12:02:21 -04:00
Jude Nelson
de2df704c0 commas and spelling 2016-10-05 14:39:07 -04:00
Jude Nelson
15a87a595f keep the list of features that will activate when a new epoch passes.
provide a query interface to these features, so the consensus logic
activates them at the appropriate times
2016-10-04 18:15:25 -04:00
Jude Nelson
5f23f5be56 2-year multiplier kicks in at 436600 2016-10-03 18:34:39 -04:00
Jude Nelson
78f773db00 rework epoch logic to consider per-epoch rules on a per-namespace basis. 2016-09-28 19:52:50 -04:00
Jude Nelson
c38c0d4c19 use separate variables for epoch constants 2016-09-20 16:35:16 -04:00
Jude Nelson
993f880eb0 while testing keep the price of a 1-char namespace low so we don't run
out of regtest bitcoin
2016-09-15 17:00:30 -04:00
Jude Nelson
fc62c5892f fix epoch look up and abort on failure 2016-09-12 18:00:44 -04:00
Jude Nelson
eb430d4258 WIP: add a notion of a "settings epoch" to the server, where some
settings are only valid for certain block ranges
2016-09-09 11:16:18 -04:00
Jude Nelson
4a7c1a3b47 merge sqlite3's operation relationship definitions 2016-09-02 00:15:55 -04:00
Jude Nelson
4655830e53 set NUM_CONFIRMATIONS to 0 when testing, so we can get faster results 2016-08-29 17:35:28 -04:00
Jude Nelson
5fd23a8938 make blockstack-server amenable to running in the network simulator 2016-08-26 18:46:41 -04:00
Jude Nelson
3a625263e9 add atlas config options 2016-08-24 17:42:38 -04:00
Jude Nelson
89c0fc2572 support atlas = [True|False] under [blockstack] 2016-08-23 11:39:56 -04:00
Jude Nelson
7cd61e362f remove dead imports; if unit-testing, then set a version directly (won't
be used unless the right envars are set)
2016-08-15 18:19:41 -04:00
Jude Nelson
4f27523f9b convert burn address hash to proper address format 2016-08-04 13:50:38 -04:00
Jude Nelson
ae0f59b21b use a different start block if given in the environment variable 2016-08-01 17:35:07 -04:00
Jude Nelson
667bffc4e3 Merge branch 'master' into rc-0.0.14.0 2016-07-27 17:57:45 -04:00
Jude Nelson
225b7e1964 If there is no server_version in the config file, automatically add it
when generating the new config file (#229).  However, don't add it if it
was already present in the config file, or if the config file already
exists (in which case, the appropriate action is to use the version
given, or back up the old config file).
2016-07-27 16:12:28 -04:00