minor
authorVictor Grishchenko <victor.grishchenko@gmail.com>
Wed, 19 May 2010 10:06:54 +0000 (12:06 +0200)
committerVictor Grishchenko <victor.grishchenko@gmail.com>
Wed, 19 May 2010 10:06:54 +0000 (12:06 +0200)
TODO
bins.cpp
doc/draft-ietf-ppsp-grishchenko-swift.nroff

diff --git a/TODO b/TODO
index cbe6278..9e9a414 100644 (file)
--- a/TODO
+++ b/TODO
@@ -7,7 +7,9 @@ STATE MACHINE
 * set priorities on ranges
 * small-progress update problem (aka peer nap)
   guarantee size of updates < x% of data, on both ends
-* SWIFT_MSGTYPE_RCVD SWIFT_MSGTYPE_SENT
+* pex is affected by peer nap
+* how will tracker aggregate pexes?
+* SWIFT_MSGTYPE_RCVD
 * HAVE ALL / HAVE NONE
 * aggregate ACKS (schedule for +x ms)
 * channel close msg (hs 0)
@@ -35,6 +37,7 @@ CACHING/FILES
 * move to 64-bit IO
 * Transfer(fd) constructor
 * think of sliding window(s)
+* the ability to sniff file without downloading
 
 MANIFOLD
 * all-swarm performance stats
@@ -69,4 +72,3 @@ OTHER
 * packing hashes into a single datagram (tracking 1000s)
 * partial channels / lightweight channels
 * socket array is misplaced
-* the invalid-hash bug
index 319a7cd..aa81a70 100644 (file)
--- a/bins.cpp
+++ b/bins.cpp
@@ -180,12 +180,8 @@ uint16_t    binmap_t::alloc_cell () {
 
 
 bin64_t iterator::next (bool stop_undeep, bool stop_solid, uint8_t stop_layer) {
-    //assert( (!deep()) || (layer()==min_layer));
     while (pos.is_right())
         parent();
-    //parent();
-    //if (need_solid ? !solid() : deep())
-    //    right();
     sibling();
     while (     (!stop_undeep || deep()) && 
                 (!stop_solid || (deep() || !solid()) ) && 
index 1461f89..c4420ed 100644 (file)
@@ -542,7 +542,7 @@ Peers running over TCP may not accept ACK messages, etc etc.
 4.8.  Directory lists\r
 \r
 .fi\r
-Directory list files MUST start with magic bytes ".\n..\n\n". The rest of the file is a newline-separated list of hashes and file names for the content of the directory. An example:\r
+Directory list files MUST start with magic bytes ".\n..\n". The rest of the file is a newline-separated list of hashes and file names for the content of the directory. An example:\r
 \r
 .nf\r
 \&.\r