PyBitmessage-2021-04-27/src/state.py
Peter Surda 8bcfe80ad0
Refactoring of config parser and shared.py
- got rid of shared config parser and made it into a singleton
- refactored safeConfigGetBoolean as a method of the config singleton
- refactored safeConfigGet as a method of the config singleton
- moved softwareVersion from shared.py into version.py
- moved some global variables from shared.py into state.py
- moved some protocol-specific functions from shared.py into protocol.py
2017-01-11 14:27:19 +01:00

8 lines
87 B
Python

neededPubkeys = {}
# For UPnP
extPort = None
# for Tor hidden service
socksIP = None