Browse Source

added roadmap + fix indent error in main

develop
Roel 10 years ago
parent
commit
fee99a041c
  1. 2
      lazyinstall/lazyinstall1.sh
  2. 3
      main.py
  3. 6
      meshenger_roadmap

2
lazyinstall/lazyinstall1.sh

@ -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

@ -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

@ -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…
Cancel
Save