Reticulum/RNS/Interfaces/Interface.py
2020-05-11 21:05:04 +02:00

15 lines
288 B
Python
Executable File

import RNS
class Interface:
IN = False
OUT = False
FWD = False
RPT = False
name = None
def __init__(self):
pass
def get_hash(self):
# TODO: Maybe expand this to something more unique
return RNS.Identity.fullHash(str(self).encode("utf-8"))