added introduce command

This commit is contained in:
Kevin Froman 2018-04-18 21:56:25 -05:00
parent d8d29b7c28
commit 8024d0e354
No known key found for this signature in database
GPG key ID: 0D414D0FE405B63B
3 changed files with 23 additions and 9 deletions

View file

@ -149,6 +149,7 @@ class Onionr:
'add-msg': self.addMessage,
'add-message': self.addMessage,
'pm': self.sendEncrypt,
'introduce': self.onionrCore.introduceNode,
'getpms': self.getPMs,
'get-pms': self.getPMs,
@ -168,6 +169,7 @@ class Onionr:
self.cmdhelp = {
'help': 'Displays this Onionr help menu',
'version': 'Displays the Onionr version',
'introduce': 'Introduce your node to the public Onionr network. (DAEMON MUST BE RUNNING)',
'config': 'Configures something and adds it to the file',
'start': 'Starts the Onionr daemon',
'stop': 'Stops the Onionr daemon',
@ -178,7 +180,7 @@ class Onionr:
'add-peer': 'Adds a peer (?)',
'list-peers': 'Displays a list of peers',
'add-msg': 'Broadcasts a message to the Onionr network',
'pm': 'Adds a private message to block',
'pm': 'Sends a private message to a user as an Onionr block',
'get-pms': 'Shows private messages sent to you',
'gui': 'Opens a graphical interface for Onionr'
}