Commit Graph

109 Commits

Author SHA1 Message Date
Jude Nelson
6fd1da39de new fast-sync DNS name 2018-10-15 17:10:49 -04:00
Jude Nelson
ae78ad733f fast-sync key rotation 2018-10-12 16:37:13 -04:00
Jude Nelson
4550ee3df7 fall back to 127.0.0.1 if getaddrinfo fails 2018-10-08 13:24:34 -04:00
Jude Nelson
520d3814ce allow using getaddrinfo() to get the Atlas IP address. Pass "<stun>" to request a STUN-determined IP address; pass "<host>" for getaddrinfo(); pass a normal IP address or DNS name for a pre-configured address (affects "atlas_hostname" and "BLOCKSTACK_ATLAS_HOSTNAME") 2018-10-08 11:54:31 -04:00
Jude Nelson
c059c17469 set blockstack atlas hostname (BLOCKSTACK_ATLAS_HOSTNAME) as an environ 2018-10-02 23:35:52 -04:00
Jude Nelson
f03d23aa95 rename *_nameops_* to *_blockstack_ops_* for code clarity 2018-09-27 17:52:20 -04:00
Jude Nelson
40d06dd447 restructure the epoch data so that we no longer need user-defined sqlite3 functions to select the right namespace lifetime and grace period data. instead, bake them directly into the queries. speeds up lots of queries significantly 2018-09-18 18:52:58 -04:00
Jude Nelson
94bcf41cf6 modify the BoundedThreadingMixIn so it will eagerly close client sockets when it has too many outstanding requests. Do some housekeeping so that we can use this in both the backplane RPC server and the API server, and update the relevant integration test to test for this behavior 2018-09-18 17:15:31 -04:00
Jude Nelson
993a8ff68c push back f-day 2018 2018-09-17 18:26:03 -04:00
Aaron Blankstein
ac6dc486f9 add environment variable for overriding atlas_seed_peers setting (BLOCKSTACK_ATLAS_SEEDS) 2018-09-13 07:51:20 -05:00
Jude Nelson
58604448fd Merge branch 'master' into develop 2018-07-06 14:08:31 -04:00
Jude Nelson
efbcaccc5a up to 1000 threads (only 1024 file descriptors are available anyway) 2018-07-06 14:06:58 -04:00
Jude Nelson
01ef6b022b de-lint; version bump 2018-07-06 14:04:09 -04:00
Jude Nelson
a1709b3a2f reduce the multiplier for the maximum rpc size to 150 (really can get away with more like 133, but let's play it safe--it's only 0.6 MB) 2018-07-05 23:41:39 -04:00
Jude Nelson
800f82911d make the max RPC length equal to the expected amount of space 100 fully-loaded zone files take when encoded 2018-07-05 21:42:26 -04:00
Jude Nelson
8358c1d783 add a bounded threading mixin to the RPC server that allows it to have up to a maximum number of outstanding threads handling requests. serialize all RPC access so we don't introduce database contention or corruption. make the maximum number of RPC threads overridable in the environment. 2018-07-05 17:24:30 -04:00
Jude Nelson
19bbde27df make getinfo faster so we can use it more in atlas in order to tell if we're talking to a testnet or mainnet node. We'll make it so mainnet nodes and testnet nodes ignore each other. 2018-04-29 23:02:54 -04:00
Jude Nelson
79565f08eb temporarily remove STACKs token (will restore later) 2018-04-24 16:33:22 -04:00
Jude Nelson
b9045f846d add TOKEN_TRANSFER opcode description 2018-04-13 19:15:47 -04:00
Jude Nelson
1e5d2ff2e0 add load_configuration() for non-interactive configuration loading 2018-04-05 17:30:48 -04:00
Jude Nelson
24fe97f75d these epoch features aren't really doable, given the limited size of op_returns 2018-04-03 19:00:15 -04:00
Jude Nelson
7be1628903 extend the configuration section to include [blockstack-api] 2018-03-22 19:23:11 -04:00
Jude Nelson
c02d964734 update signing key 2018-02-19 19:07:47 -05:00
Jude Nelson
24309d8481 save RPC public IP once we know it 2018-02-19 14:46:17 -05:00
Jude Nelson
3c15e5c961 use STUN to discover the host's public IP 2018-02-19 14:37:09 -05:00
Jude Nelson
d6d3777c58 fix max RPC size to be 10x the max zonefile size (since we accept at most 5 base64-encoded zone files) 2018-02-18 00:33:32 -05:00
Jude Nelson
79de506afa move subdomain version numbers to config for easier imports 2018-02-11 18:57:39 -05:00
Jude Nelson
bc9807e79a 10x the zone file size 2018-02-09 18:34:58 -05:00
Jude Nelson
c2fe7fec55 track first block for subdomains 2018-01-30 17:41:48 -05:00
Jude Nelson
6a135a035f add support for subdomain DB path, and for checking whether or not subdomains and atlas are enabled 2018-01-29 19:08:37 -05:00
Jude Nelson
c357b98190 no longer honor zonefile, profile, or data storage config options 2018-01-22 19:12:01 -05:00
Jude Nelson
06cfae1aaa ports 6264 and 16264 don't use ssl 2018-01-19 17:33:43 -05:00
Jude Nelson
f0e19e81ea average seconds per block 2018-01-18 19:57:13 -05:00
Jude Nelson
a3fcc925a0 list all name operations 2018-01-17 14:17:03 -05:00
Jude Nelson
e93b576512 get_version_parts missing 2018-01-16 16:35:01 -05:00
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