Merge branch 'master' into develop

This commit is contained in:
Jude Nelson
2018-10-22 18:42:16 -04:00
6 changed files with 57 additions and 10 deletions

View File

@@ -183,10 +183,18 @@ else:
RPC_SERVER_PORT = 6264
DEFAULT_API_HOST = 'localhost'
if os.environ.get('BLOCKSTACK_API_HOST'):
DEFAULT_API_HOST = os.environ.get('BLOCKSTACK_API_HOST')
log.debug('BLOCKSTACK_API_HOST = {}'.format(DEFAULT_API_HOST))
DEFAULT_API_PORT = 6270 # API endpoint port
if BLOCKSTACK_TEST:
DEFAULT_API_PORT = 16268
if os.environ.get('BLOCKSTACK_API_PORT'):
DEFAULT_API_PORT = int(os.environ.get('BLOCKSTACK_API_PORT'))
log.debug('BLOCKSTACK_API_PORT = {}'.format(DEFAULT_API_PORT))
RPC_DEFAULT_TIMEOUT = 30 # in secs
RPC_MAX_ZONEFILE_LEN = 40960 # 40KB
RPC_MAX_INDEXING_DELAY = 2 * 3600 # 2 hours; maximum amount of time before the absence of new blocks causes the node to stop responding

View File

@@ -1,5 +1,5 @@
# this is the only place where version should be updated
__version_major__ = '20'
__version_minor__ = '0'
__version_patch__ = '2'
__version_patch__ = '6'
__version__ = '{}.{}.{}.0'.format(__version_major__, __version_minor__, __version_patch__)