comments, cleaner key_bits constant
This commit is contained in:
parent
29d5750371
commit
ec1b6b2387
1 changed files with 2 additions and 6 deletions
|
@ -45,17 +45,13 @@ tokenSecretChangeInterval = 300 # 5 minutes
|
|||
|
||||
######## IMPLEMENTATION-SPECIFIC CONSTANTS ###########
|
||||
|
||||
#: The interval in which the node should check its whether any buckets need refreshing,
|
||||
#: or whether any data needs to be republished (in seconds)
|
||||
#: The interval for the node to check whether any buckets need refreshing
|
||||
checkRefreshInterval = refreshTimeout / 5
|
||||
|
||||
#: Max size of a single UDP datagram, in bytes. If a message is larger than this, it will
|
||||
#: be spread across several UDP packets.
|
||||
udpDatagramMaxSize = 8192 # 8 KB
|
||||
|
||||
from lbrynet.core.cryptoutils import get_lbry_hash_obj
|
||||
|
||||
h = get_lbry_hash_obj()
|
||||
key_bits = h.digest_size * 8 # 384 bits
|
||||
key_bits = 384
|
||||
|
||||
rpc_id_length = 20
|
||||
|
|
Loading…
Reference in a new issue