From 45903a2d6e56d49424090a6c473e071a7f7b7079 Mon Sep 17 00:00:00 2001 From: alex Date: Mon, 22 Nov 2021 17:13:31 -0800 Subject: [PATCH] updated using git-extra --- todo | 20 +++++--------------- 1 file changed, 5 insertions(+), 15 deletions(-) diff --git a/todo b/todo index de5a97c..267e44b 100644 --- a/todo +++ b/todo @@ -53,21 +53,11 @@ Stage 0: -verify correctness of file_hash w/ bep0052.py script *works for short files (TEST_FILE_1-4) -failing for extended files - HERE - -options: - -add complexity to piece layer generation to bring in like w/ bep0052 file - -modify block_merkle_layer to correctly pad to power of 2 (for a balanced tree) - -doesn't work, padding depends of piece_layer size... - -bring back block_pad? - -can't pad to pow 2, have to pad to piece layer size (to balance tree) - -pass pointer to last block, to pad to piece layer size? - -after creating piece layers, have to pad to pow of 2 (to balance tree) - -count block count while adding to piece_layers - -add pad (to next pow 2 if smaller than piece layer size) before doing merkle layer - -figure out how to do merkle root non-destructively - -isomorphism? - -not a big fan of the duplicate -> root strategy - -could block_length -> malloc all at once? - -piece layers calculations need merkle root destructively + -merkle root non-destructively? + -isomorphism? + -not a big fan of the duplicate -> root strategy + -could block_length -> malloc all at once? + -piece layers calculations need merkle root destructively -watch -- SKIP *start watching thread *figure out flags -- 2.30.2