Reticulum/RNS/Interfaces/Interface.py

17 lines
272 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):
return RNS.Identity.full_hash(str(self).encode("utf-8"))
def detach(self):
pass