]> infiniteadaptability.org Git - seeder/commitdiff
updated using git-extra
authoralex <[email protected]>
Sat, 11 Dec 2021 01:23:47 +0000 (17:23 -0800)
committeralex <[email protected]>
Sat, 11 Dec 2021 01:23:47 +0000 (17:23 -0800)
todo

diff --git a/todo b/todo
index c70fb4d6b131069d909f22e327b667a1806bf900..548e3f5cf92969602b0d35705969041e33b15b00 100644 (file)
--- a/todo
+++ b/todo
@@ -60,17 +60,14 @@ Stage 0:
        *rework tree
        *tree_bencode
        *rework torrent_add_file
-       -torrent_bencode_piece_layers
-               -need to sort (hash as key, file->piece_layers as value)
-                       -consider adding piece layer hashmap to torrent struct
-               -add pieces field to session struct
-               -create piece struct
-                       -pointer to file
-                       -reference to position of piece in file
-                       -void* for data
-                               -filled jit, cached
+       -torrent_bencode_piece_layers - HERE
+               -finish src/torrent/piece.c
+                       -buffer creation
+                               -size of each layer?
+               *need to sort (hash as key, file->piece_layers as value)
 -rework bencode
        -rethink strategy for when out of available buffer space
+               -not handled right now
 -test
        -torrent
                *expand add tests