Fix contrib/linearize/ port and magic numbers.

This commit is contained in:
mchvs
2015-01-02 18:49:00 -02:00
parent b6d1bb8e57
commit 6860abf540
2 changed files with 7 additions and 7 deletions
+4 -4
View File
@@ -1,12 +1,12 @@
# bitcoind RPC settings
# Myriadcoin RPC settings
rpcuser=someuser
rpcpassword=somepassword
host=127.0.0.1
port=8332
port=10889
# bootstrap.dat settings
netmagic=f9beb4d9
max_height=279000
netmagic=af4576ee
max_height=1000000
output=bootstrap.dat
Regular → Executable
+3 -3
View File
@@ -107,17 +107,17 @@ if __name__ == '__main__':
f.close()
if 'netmagic' not in settings:
settings['netmagic'] = 'f9beb4d9'
settings['netmagic'] = 'af4576ee'
if 'output' not in settings:
settings['output'] = 'bootstrap.dat'
if 'host' not in settings:
settings['host'] = '127.0.0.1'
if 'port' not in settings:
settings['port'] = 8332
settings['port'] = 10889
if 'min_height' not in settings:
settings['min_height'] = 0
if 'max_height' not in settings:
settings['max_height'] = 279000
settings['max_height'] = 1000000
if 'rpcuser' not in settings or 'rpcpassword' not in settings:
print "Missing username and/or password in cfg file"
sys.exit(1)