]> Sergey Matveev's repositories - btrtrc.git/blobdiff - request-strategy/peer.go
Retain peer local request ordering
[btrtrc.git] / request-strategy / peer.go
index 8b711f3c202d25e5e3d91b8c9ff310cbe4237c3f..cbdb2b753e76ef5bf55c5967241536c35604789a 100644 (file)
@@ -6,9 +6,7 @@ import (
 
 type PeerRequestState struct {
        Interested bool
-       // Expecting. TODO: This should be ordered so webseed requesters initiate in the same order they
-       // were assigned.
-       Requests PeerRequests
+       Requests   PeerRequests
        // Cancelled and waiting response
        Cancelled typedRoaring.Bitmap[RequestIndex]
 }