From 909a982b863c9d4ead31e7563d196912d4424982 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=90=D0=BD=D0=B4=D1=80=D0=B5=D0=B9=20=D0=92=D0=BB=D0=B0?= =?UTF-8?q?=D0=B4=D0=B8=D0=BC=D0=B8=D1=80=D0=BE=D0=B2=D0=B8=D1=87?= Date: Thu, 18 Feb 2016 19:51:23 +0300 Subject: [PATCH] upd toxcore enums --- src/{toxcore_enums.py => toxcore_enums_and_consts.py} | 4 ++++ 1 file changed, 4 insertions(+) rename src/{toxcore_enums.py => toxcore_enums_and_consts.py} (98%) diff --git a/src/toxcore_enums.py b/src/toxcore_enums_and_consts.py similarity index 98% rename from src/toxcore_enums.py rename to src/toxcore_enums_and_consts.py index a85d017..66b8909 100644 --- a/src/toxcore_enums.py +++ b/src/toxcore_enums_and_consts.py @@ -187,3 +187,7 @@ TOX_ERR_GET_PORT = { 'TOX_ERR_GET_PORT_OK': 0, 'TOX_ERR_GET_PORT_NOT_BOUND': 1, } + +TOX_PUBLIC_KEY_SIZE = 32 + +TOX_ADDRESS_SIZE = TOX_PUBLIC_KEY_SIZE + 48