fixed announce bug from refactor and added static data readme

This commit is contained in:
Kevin Froman 2019-06-13 18:40:45 -05:00
parent c85bb73d77
commit 2d78d3d017
4 changed files with 22 additions and 2 deletions

View File

@ -58,7 +58,7 @@ def announce_node(daemon):
existingRand = '' existingRand = ''
if peer in daemon.announceCache: if peer in daemon.announceCache:
data['random'] = self.announceCache[peer] data['random'] = daemon.announceCache[peer]
elif len(existingRand) > 0: elif len(existingRand) > 0:
data['random'] = existingRand data['random'] = existingRand
else: else:

View File

@ -0,0 +1,19 @@
# static-data
This folder contains whatever static files are needed by Onionr and default plugins.
default-plugins/: default plugin program files to be installed on first Onionr run.
www/: onionr web ui static files including those of default plugins
bootstrap-nodes.txt: comma separated list of bootstrap nodes
connect-check.txt: non-onionr .onion sites to check Tor connectivity with
default_config.json: default configuration values for Onionr nodes
default_plugin.py: template for people to make new plugins
header.txt: Onionr ASCII art logo
index.html: Notice shown to people who try to visit Onionr nodes public interfaces in their browser

View File

@ -1 +1 @@
https://3g2upl4pq6kufc4m.onion/robots.txt,http://expyuzz4wqqyqhjn.onion/robots.txt,http://archivecaslytosk.onion/robots.txt https://3g2upl4pq6kufc4m.onion/robots.txt,http://expyuzz4wqqyqhjn.onion/robots.txt,http://archivecaslytosk.onion/robots.txt,http://cockmailwwfvrtqj.onion/robots.txt

View File

@ -7,6 +7,7 @@
"socket_servers": false, "socket_servers": false,
"security_level": 0, "security_level": 0,
"hide_created_blocks": true, "hide_created_blocks": true,
"insert_deniable_blocks": true,
"max_block_age": 2678400, "max_block_age": 2678400,
"bypass_tor_check": false, "bypass_tor_check": false,
"public_key": "", "public_key": "",