Changeset 10613


Ignore:
Timestamp:
May 1, 2010, 7:16:52 PM (11 years ago)
Author:
livings124
Message:

#3060 prefer peers from local discovery over those from a tracker

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/transmission.h

    r10606 r10613  
    16531653enum
    16541654{
    1655     TR_PEER_FROM_INCOMING  = 0,  /* connections made to the listening port */
    1656     TR_PEER_FROM_TRACKER   = 1,  /* peers received from a tracker */
    1657     TR_PEER_FROM_LDS       = 2,  /* peers discovered by local announcements */
    1658     TR_PEER_FROM_DHT       = 3,  /* peers learnt from the DHT */
    1659     TR_PEER_FROM_RESUME    = 4,  /* peers read from the .resume file */
    1660     TR_PEER_FROM_PEX       = 5,  /* peers discovered via PEX */
    1661     TR_PEER_FROM_LTEP      = 6,  /* peer address provided in an LTEP handshake */
     1655    TR_PEER_FROM_INCOMING  = 0, /* connections made to the listening port */
     1656    TR_PEER_FROM_LDS,           /* peers discovered by local announcements */
     1657    TR_PEER_FROM_TRACKER,       /* peers received from a tracker */
     1658    TR_PEER_FROM_DHT,           /* peers learnt from the DHT */
     1659    TR_PEER_FROM_RESUME,        /* peers read from the .resume file */
     1660    TR_PEER_FROM_PEX,           /* peers discovered via PEX */
     1661    TR_PEER_FROM_LTEP,          /* peer address provided in an LTEP handshake */
    16621662    TR_PEER_FROM__MAX
    16631663};
Note: See TracChangeset for help on using the changeset viewer.