mirror of
https://github.com/jwinterm/myriadcoin.git
synced 2026-10-20 06:08:43 +02:00
Fix contrib/linearize/ port and magic numbers.
This commit is contained in:
@@ -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
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user