Change bootstrap node list
This commit is contained in:
parent
0d23d176ce
commit
3f6f981847
3 changed files with 2 additions and 2 deletions
|
@ -1,3 +1,3 @@
|
|||
onionisrgccylxpr.onion
|
||||
aaronk3mcmglj6qedwptg62yl3wxxjwba2ucpoobrn7iudcacdxtrfad.onion
|
||||
dgyllprmtmym4gbk.onion
|
||||
onionragxuddecmg.onion
|
||||
|
|
41
onionr/static-data/default_plugin.txt
Normal file
41
onionr/static-data/default_plugin.txt
Normal file
|
@ -0,0 +1,41 @@
|
|||
'''
|
||||
Default plugin template file
|
||||
Generated on $date by $user.
|
||||
'''
|
||||
|
||||
# Imports some useful libraries
|
||||
import logger, config
|
||||
|
||||
def on_init(api, data = None):
|
||||
'''
|
||||
This event is called after Onionr is initialized, but before the command
|
||||
inputted is executed. Could be called when daemon is starting or when
|
||||
just the client is running.
|
||||
'''
|
||||
|
||||
# Doing this makes it so that the other functions can access the api object
|
||||
# by simply referencing the variable `pluginapi`.
|
||||
global pluginapi
|
||||
pluginapi = api
|
||||
|
||||
return
|
||||
|
||||
def on_start(api, data = None):
|
||||
'''
|
||||
This event can be called for multiple reasons:
|
||||
1) The daemon is starting
|
||||
2) The user called `onionr --start-plugins` or `onionr --reload-plugins`
|
||||
3) For whatever reason, the plugins are reloading
|
||||
'''
|
||||
|
||||
return
|
||||
|
||||
def on_stop(api, data = None):
|
||||
'''
|
||||
This event can be called for multiple reasons:
|
||||
1) The daemon is stopping
|
||||
2) The user called `onionr --stop-plugins` or `onionr --reload-plugins`
|
||||
3) For whatever reason, the plugins are reloading
|
||||
'''
|
||||
|
||||
return
|
Loading…
Add table
Add a link
Reference in a new issue