updated ft with experimental cca

This commit is contained in:
Green Sky 2023-01-31 02:02:01 +01:00
parent 5fa8dc712a
commit cd6141ee00
No known key found for this signature in database
3 changed files with 5 additions and 2 deletions

View File

@ -3,6 +3,9 @@ cmake_minimum_required(VERSION 3.9 FATAL_ERROR)
add_library(tox_ngc_ft1 STATIC
./tox_ngc_ft1/ngc_ft1.h
./tox_ngc_ft1/ngc_ft1.cpp
./tox_ngc_ft1/ledbat.hpp
./tox_ngc_ft1/ledbat.cpp
)
target_include_directories(tox_ngc_ft1 PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}/tox_ngc_ft1")

@ -1 +1 @@
Subproject commit a7b5c3136958f12fbef747c5d2b9a45ae3fa0b4b
Subproject commit e1b5dd20804503668572edf15ef1b2db2b1847b3

View File

@ -32,7 +32,7 @@ SHA1::SHA1(
_udp_only = cl.request_only_from_udp_peer;
_max_concurrent_in = cl.max_incoming_transfers;
_max_concurrent_out = cl.max_incoming_transfers;
_max_concurrent_out = cl.max_outgoing_transfers;
// build lookup table
for (size_t i = _sha1_info.chunks.size(); i > 0; i--) {