refactoring + sha1_info should be requestable

This commit is contained in:
2023-01-15 20:15:48 +01:00
parent 707bfc7fd6
commit 3e0100efdf
7 changed files with 115 additions and 49 deletions

View File

@@ -56,7 +56,7 @@ SendStartSHA1::SendStartSHA1(ToxClient& tcl, const CommandLine& cl) : StateI(tcl
std::cout << "SendStartSHA1 sha1_info_hash: " << bin2hex(_sha1_info_hash) << "\n";
}
bool SendStartSHA1::iterate(void) {
bool SendStartSHA1::iterate(float) {
return true; // TODO: change hashing to async
}