implement all the commandline parameters, add more, and plan for more

This commit is contained in:
2023-01-16 23:20:37 +01:00
parent 999ef20437
commit c0187ae405
6 changed files with 124 additions and 34 deletions

View File

@@ -33,6 +33,8 @@ struct ReceiveStartSHA1 final : public StateI {
void onFT1SendDataSHA1Chunk(uint32_t group_number, uint32_t peer_number, uint8_t transfer_id, size_t data_offset, uint8_t* data, size_t data_size) override;
private:
std::string _dump_dir;
//FTInfoSHA1 _sha1_info;
std::vector<uint8_t> _sha1_info_data;
SHA1Digest _sha1_info_hash; // treat as const