Implemented peer authentication

This commit is contained in:
Mark Qvist 2022-06-17 13:42:44 +02:00
commit 8be54bcc5f
3 changed files with 54 additions and 5 deletions

View file

@ -18,6 +18,7 @@ class LXMPeer:
RESOURCE_TRANSFERRING = 0x05
ERROR_NO_IDENTITY = 0xf0
ERROR_NO_ACCESS = 0xf1
# Maximum amount of time a peer can
# be unreachable before it is removed