Changeset 10697


Ignore:
Timestamp:
May 28, 2010, 1:41:30 AM (12 years ago)
Author:
charles
Message:

(trunk libT) revert r10661 s.t. DHT peers are preferred slightly over PEX peers. This reversion comes after reading "Understanding the Properties of the BitTorrent? Overlay" (2007, Al-Hamra) @ http://arxiv.org/pdf/0707.1820 at Juliusz's suggestion. Also tweak the announce's 'numwant' threshold based on findings from the same paper.

Location:
trunk/libtransmission
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/announcer.c

    r10664 r10697  
    6262
    6363    /* the value of the 'numwant' argument passed in tracker requests. */
    64     NUMWANT = 200,
     64    NUMWANT = 80,
    6565
    6666    /* how long to put slow (nonresponsive) trackers in the penalty box */
  • trunk/libtransmission/transmission.h

    r10661 r10697  
    16711671    TR_PEER_FROM_LPD,           /* peers found by local announcements */
    16721672    TR_PEER_FROM_TRACKER,       /* peers found from a tracker */
     1673    TR_PEER_FROM_DHT,           /* peers found from the DHT */
    16731674    TR_PEER_FROM_PEX,           /* peers found from PEX */
    1674     TR_PEER_FROM_DHT,           /* peers found from the DHT */
    16751675    TR_PEER_FROM_RESUME,        /* peers found in the .resume file */
    16761676    TR_PEER_FROM_LTEP,          /* peer address provided in an LTEP handshake */
Note: See TracChangeset for help on using the changeset viewer.