Removed commented config check and added module docstring
This commit is contained in:
parent
e417b6257f
commit
6969ec0ec9
|
@ -1,7 +1,10 @@
|
||||||
|
"""
|
||||||
|
Manipulations with knownNodes dictionary.
|
||||||
|
"""
|
||||||
|
|
||||||
import json
|
import json
|
||||||
import os
|
import os
|
||||||
import pickle
|
import pickle
|
||||||
# import sys
|
|
||||||
import threading
|
import threading
|
||||||
import time
|
import time
|
||||||
|
|
||||||
|
@ -106,10 +109,6 @@ def readKnownNodes():
|
||||||
createDefaultKnownNodes()
|
createDefaultKnownNodes()
|
||||||
|
|
||||||
config = BMConfigParser()
|
config = BMConfigParser()
|
||||||
# if config.safeGetInt('bitmessagesettings', 'settingsversion') > 10:
|
|
||||||
# sys.exit(
|
|
||||||
# 'Bitmessage cannot read future versions of the keys file'
|
|
||||||
# ' (keys.dat). Run the newer version of Bitmessage.')
|
|
||||||
|
|
||||||
# your own onion address, if setup
|
# your own onion address, if setup
|
||||||
onionhostname = config.safeGet('bitmessagesettings', 'onionhostname')
|
onionhostname = config.safeGet('bitmessagesettings', 'onionhostname')
|
||||||
|
|
Reference in New Issue
Block a user