Reticulum/RNS/Interfaces/Interface.py

15 lines
294 B
Python
Raw Permalink Normal View History

import RNS
2016-06-03 17:02:02 +00:00
class Interface:
IN = False
OUT = False
FWD = False
RPT = False
name = None
def __init__(self):
pass
def get_hash(self):
2020-08-13 10:15:56 +00:00
# TODO: Maybe expand this to something more unique
return RNS.Identity.fullHash(str(self).encode("utf-8"))