mapa17/Eruliaf — Issue #20: Change from peer to dictionary
Author: mapa17
Created: 2012-02-12 14:04:30+00:00
State: open
Labels: nodes, Refactoring

Change the data structure of the peerConn in the peer class from a list to a dictionary, remove the ou and tft conn list and make better use of the reduced sets.

In the end we will end up with

peerConn ( dictionary ) containing all connections of a peer
peerConnReduced ( a set of peer IDs)
ouConnReduced ( a set of peer IDs currently scheduled for OU ) <--- Do i need this?
tftConnReduced ( a set of peer IDS currently scheduled for TFT ) <--- Do i need this?