mirror of
https://github.com/simplex-chat/simplexmq.git
synced 2026-08-04 19:49:54 +00:00
increase SMP queue ID and message ID size to 24 bytes
This commit is contained in:
@@ -42,8 +42,8 @@ serverConfig =
|
||||
ServerConfig
|
||||
{ tbqSize = 16,
|
||||
msgQueueQuota = 256,
|
||||
queueIdBytes = 12,
|
||||
msgIdBytes = 6,
|
||||
queueIdBytes = 24,
|
||||
msgIdBytes = 24, -- must be at least 24 bytes, it is used as 192-bit nonce for XSalsa20
|
||||
trnSignAlg = C.SignAlg C.SEd448,
|
||||
-- below parameters are set based on ini file /etc/opt/simplex/smp-server.ini
|
||||
transports = undefined,
|
||||
|
||||
@@ -27,7 +27,7 @@ data ServerConfig = ServerConfig
|
||||
tbqSize :: Natural,
|
||||
msgQueueQuota :: Natural,
|
||||
queueIdBytes :: Int,
|
||||
msgIdBytes :: Int,
|
||||
msgIdBytes :: Int, -- must be at least 24 bytes, it is used as 192-bit nonce for XSalsa20
|
||||
storeLog :: Maybe (StoreLog 'ReadMode),
|
||||
blockSize :: Int,
|
||||
trnSignAlg :: C.SignAlg,
|
||||
|
||||
Reference in New Issue
Block a user