From 2688c6d8ecc1d1a866aeb903bb1a2769d7437844 Mon Sep 17 00:00:00 2001 From: alex Date: Fri, 10 Dec 2021 17:23:47 -0800 Subject: [PATCH] updated using git-extra --- todo | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) 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 -- 2.39.5