added roadmap + fix indent error in main
This commit is contained in:
parent
590a4f5d98
commit
fee99a041c
@ -17,7 +17,7 @@ mount -t ext4 /dev/sda1 /mnt/sda1
|
||||
|
||||
echo 'Cleaning USB drive'
|
||||
|
||||
rm -r /mnt/sda1
|
||||
rm -r /mnt/sda1/
|
||||
|
||||
sleep 4
|
||||
|
||||
|
3
main.py
3
main.py
@ -48,6 +48,7 @@ class Meshenger:
|
||||
|
||||
while True:
|
||||
print 'Entering main loop'
|
||||
#
|
||||
if len(self.devices) > 0:
|
||||
print 'found', len(self.devices),'device(s)'
|
||||
|
||||
@ -187,7 +188,7 @@ Get new messages from other node based on it's index file
|
||||
Convert a node's ip into a hash and make a directory to store it's files
|
||||
"""
|
||||
if not os.path.exists('nodes'):
|
||||
os.mkdir('nodes')
|
||||
os.mkdir('nodes')
|
||||
|
||||
import hashlib
|
||||
hasj = hashlib.md5(ip).hexdigest()
|
||||
|
6
meshenger_roadmap
Normal file
6
meshenger_roadmap
Normal file
@ -0,0 +1,6 @@
|
||||
-find a way to prioritize the index/message download threads. Perhaps these threads could tell other threads to pause?
|
||||
|
||||
-nodes that are new to the network don't immediately download indices from the other nodes
|
||||
|
||||
-nodes that disconnect from the network should be removed from lists of known devices
|
||||
|
Loading…
Reference in New Issue
Block a user