Work on improving peer list
Need to "update" the peer list instead of wipe it out and write a new one. This is just started, so not implemented yet.
This commit is contained in:
parent
530a6fc612
commit
e575186fc3
4
ipsc.py
4
ipsc.py
@ -119,6 +119,10 @@ def process_peer_list(_data, _network):
|
||||
# if not in the current list, add it...
|
||||
# if in the current list, but not in what we received, remove it...
|
||||
# then take out the he ugliness that is below here (and up above where it deletes the whol list)
|
||||
# for radio_id in NETWORK[_network]['PEERS']:
|
||||
# print(binascii.b2a_hex(radio_id['RADIO_ID']))
|
||||
# if hex_radio_id in radio_id['RADIO_ID']:
|
||||
# print('---->', radio_id)
|
||||
|
||||
NETWORK[_network]['PEERS'].append({
|
||||
'RADIO_ID': hex_radio_id,
|
||||
|
Loading…
Reference in New Issue
Block a user