From: alex Date: Sat, 11 Dec 2021 01:23:47 +0000 (-0800) Subject: updated using git-extra X-Git-Url: http://git.infiniteadaptability.org/?a=commitdiff_plain;h=2688c6d8ecc1d1a866aeb903bb1a2769d7437844;p=seeder updated using git-extra --- diff --git a/todo b/todo index c70fb4d..548e3f5 100644 --- 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