updated ft with experimental cca

This commit is contained in:
2023-01-31 02:02:01 +01:00
parent 5fa8dc712a
commit cd6141ee00
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")

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--) {