add environment variable BSK_SUBDOMAIN_REGTEST_BIND for binding subdomain registrar in regtest

This commit is contained in:
Aaron Blankstein
2018-02-08 14:40:57 -05:00
parent 15539cffb4
commit f9ed5e406c

View File

@@ -58,10 +58,10 @@ def scenario( wallets, **kw ):
maximum_entries_per_zonefile = 100
bind_port = 7103
transaction_frequency = 15
bind_address = localhost
bind_address = {}
core_endpoint = http://localhost:{}
core_auth_token = False
""".format(blockstack_client.config.read_config_file()['blockstack-client']['api_endpoint_port'])
""".format(os.getenv('BSK_SUBDOMAIN_REGTEST_BIND', 'localhost'), blockstack_client.config.read_config_file()['blockstack-client']['api_endpoint_port'])
out_f.write(file_out)
# spawn the registrar