@ -40,7 +40,7 @@ except ImportError:
raise Exception ( " You need the PySocks module (for use with socks5 proxy to use Tor) " )
ONIONR_TAGLINE = ' Anonymous P2P Platform - GPLv3 - https://Onionr.VoidNet.Tech '
ONIONR_VERSION = ' 0.2 .0 ' # for debugging and stuff
ONIONR_VERSION = ' 0.3 .0 ' # for debugging and stuff
ONIONR_VERSION_TUPLE = tuple ( ONIONR_VERSION . split ( ' . ' ) ) # (MAJOR, MINOR, VERSION)
API_VERSION = ' 4 ' # increments of 1; only change when something fundemental about how the API works changes. This way other nodes know how to communicate without learning too much information about you.
@ -146,7 +146,7 @@ class Onionr:
config . set ( ' client.participate ' , True , savefile = True )
if type ( config . get ( ' client.api_version ' ) ) is type ( None ) :
config . set ( ' client.api_version ' , API_VERSION , savefile = True )
self . cmds = {
' ' : self . showHelpSuggestion ,
@ -263,7 +263,7 @@ class Onionr:
def getCommands ( self ) :
return self . cmds
def friendCmd ( self ) :
''' List, add, or remove friend(s)
Changes their peer DB entry .