do not spam connection messages
This commit is contained in:
parent
5d45db8f8d
commit
0660e5f77f
@ -1,5 +1,4 @@
|
|||||||
Onionr Logo is licensed under Creative Commons Attribution-Share Alike 3.0 Unported
|
The Onionr logo was created by [Anhar Ismail](https://github.com/anharismail) under the [Creative Commons Attribution 4.0 International License](https://creativecommons.org/licenses/by/4.0/).
|
||||||
https://creativecommons.org/licenses/by-sa/4.0/
|
|
||||||
|
|
||||||
|
|
||||||
GNU GENERAL PUBLIC LICENSE
|
GNU GENERAL PUBLIC LICENSE
|
||||||
|
@ -101,3 +101,9 @@ The Tor Project and I2P developers do not own, create, or endorse this project,
|
|||||||
Tor is a trademark for the Tor Project. We do not own it.
|
Tor is a trademark for the Tor Project. We do not own it.
|
||||||
|
|
||||||
The 'open source badge' is by Maik Ellerbrock and is licensed under a Creative Commons Attribution 4.0 International License.
|
The 'open source badge' is by Maik Ellerbrock and is licensed under a Creative Commons Attribution 4.0 International License.
|
||||||
|
|
||||||
|
## Logo
|
||||||
|
|
||||||
|
The Onionr logo was created by [Anhar Ismail](https://github.com/anharismail) under the [Creative Commons Attribution 4.0 International License](https://creativecommons.org/licenses/by/4.0/).
|
||||||
|
|
||||||
|
If you modify and redistribute our code ("forking"), please use a different logo and project name to avoid confusion. Please do not use our logo in a way that makes it seem like we endorse you without permission.
|
@ -135,7 +135,7 @@ Once quantum safe algorithms are more mature and have decent high level librarie
|
|||||||
|
|
||||||
# Comparisons to other P2P software
|
# Comparisons to other P2P software
|
||||||
|
|
||||||
Since Onionr is far from the first to implement many of these ideas (on their own), this section compares Onionr to other networks
|
Since Onionr is far from the first to implement many of these ideas (on their own), this section compares Onionr to other networks, using points we consider to be the most important.
|
||||||
|
|
||||||
![network comparison image](network-comparison.png)
|
![network comparison image](network-comparison.png)
|
||||||
|
|
||||||
|
@ -437,11 +437,11 @@ class OnionrCommunicatorDaemon:
|
|||||||
if self.shutdown:
|
if self.shutdown:
|
||||||
return
|
return
|
||||||
if self.peerAction(address, 'ping') == 'pong!':
|
if self.peerAction(address, 'ping') == 'pong!':
|
||||||
logger.info('Connected to ' + address)
|
|
||||||
time.sleep(0.1)
|
time.sleep(0.1)
|
||||||
if address not in mainPeerList:
|
if address not in mainPeerList:
|
||||||
networkmerger.mergeAdders(address, self._core)
|
networkmerger.mergeAdders(address, self._core)
|
||||||
if address not in self.onlinePeers:
|
if address not in self.onlinePeers:
|
||||||
|
logger.info('Connected to ' + address)
|
||||||
self.onlinePeers.append(address)
|
self.onlinePeers.append(address)
|
||||||
self.connectTimes[address] = self._core._utils.getEpoch()
|
self.connectTimes[address] = self._core._utils.getEpoch()
|
||||||
retData = address
|
retData = address
|
||||||
|
Loading…
Reference in New Issue
Block a user