issues
search
gonorstrom99
/
kadlab
Kademlia lab starter code.
0
stars
0
forks
source link
bucket functionality for when node1 is contacted by node2. see if node2 is already in a bucket or what to do if not.
#9
Closed
mannagryn1
closed
2 days ago
mannagryn1
commented
1 week ago
check if is in bucket
if yes - move to front
if no - check if bucket is full
if bucket is full - ping oldest contact to check if alive
if not alive, remove oldest contact, add new contact