From 1fc9d53ea05fd34eb8a72922e97a3f4a5a9afc91 Mon Sep 17 00:00:00 2001 From: alex Date: Sun, 10 Apr 2022 10:18:02 -0700 Subject: [PATCH] updated using git-extra --- todo | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/todo b/todo index 34f7040..414132c 100644 --- a/todo +++ b/todo @@ -20,8 +20,24 @@ To Do: -design flow for grabbing pieces from cache/files -where to store hashes (currently generated in torrent_file_piece_layers; not stored) -IDEA: abstract out and store in struct torrent - -easy access + -need to find out what block number is + -from piece layer map? + -each file piece root + -easy access + -can easily load up blocks + -need easy access -indexed + -to what? - HERE + -pieces root (of each file)? + -blocks? + -need hashmap of all blocks? + -otherwise, n^2 search + -piece layers? + -store pieces in hashmap? in struct torrent + -want quick access to file + -to easily load data + -pointer to struct file? + -block number? -current just in const unsigned char **hashes -struct piece? -file location @@ -71,6 +87,8 @@ To Do: -toggle/has -request -piece + -integration test vs. qbittorrent + -add debug logging -tests -watch -refactor -- 2.39.5