From 4e6ff21916e0939664b264396b8fdfccb5f079e8 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: Sat, 27 Feb 2016 19:28:15 +0300 Subject: [PATCH] upd consts --- src/toxcore_enums_and_consts.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/toxcore_enums_and_consts.py b/src/toxcore_enums_and_consts.py index 6a4e471..8630f0e 100644 --- a/src/toxcore_enums_and_consts.py +++ b/src/toxcore_enums_and_consts.py @@ -190,7 +190,7 @@ TOX_ERR_GET_PORT = { TOX_PUBLIC_KEY_SIZE = 32 -TOX_ADDRESS_SIZE = TOX_PUBLIC_KEY_SIZE + 48 +TOX_ADDRESS_SIZE = TOX_PUBLIC_KEY_SIZE + 6 TOX_MAX_FRIEND_REQUEST_LENGTH = 1016 @@ -199,3 +199,9 @@ TOX_MAX_MESSAGE_LENGTH = 1372 TOX_MAX_NAME_LENGTH = 128 TOX_MAX_STATUS_MESSAGE_LENGTH = 1007 + +TOX_SECRET_KEY_SIZE = 32 + +TOX_FILE_ID_LENGTH = 32 + +TOX_HASH_LENGTH = 32