wip chunk picker (still unused) and a small refactor

This commit is contained in:
2024-06-28 15:13:17 +02:00
parent 27cade4dfe
commit b53e291c68
3 changed files with 224 additions and 7 deletions

View File

@ -108,6 +108,9 @@ class SHA1_NGCFT1 : public ToxEventI, public RegistryMessageModelEventI, public
void updateMessages(ObjectHandle ce);
bool addParticipation(Contact3 c, ObjectHandle o);
void removeParticipation(Contact3 c, ObjectHandle o);
std::optional<std::pair<uint32_t, uint32_t>> selectPeerForRequest(ObjectHandle ce);
public: // TODO: config