mirror of
https://github.com/markqvist/Reticulum.git
synced 2024-11-30 01:00:18 +00:00
15 lines
295 B
Python
Executable File
15 lines
295 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.full_hash(str(self).encode("utf-8")) |