Changeset 8d59fd1


Ignore:
Timestamp:
Jan 3, 2011 4:21:51 PM (9 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
3305f17
Parents:
4d4bfa0
Message:

some more defines

Location:
apps/i2psnark/java/src/org/klomp/snark
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • apps/i2psnark/java/src/org/klomp/snark/ExtensionHandler.java

    r4d4bfa0 r8d59fd1  
    2424    private static final Log _log = I2PAppContext.getGlobalContext().logManager().getLog(ExtensionHandler.class);
    2525
    26     public static final int ID_METADATA = 3;
     26    public static final int ID_METADATA = 1;
    2727    private static final String TYPE_METADATA = "ut_metadata";
     28    public static final int ID_PEX = 2;
     29    private static final String TYPE_PEX = "ut_pex";
    2830    /** Pieces * SHA1 Hash length, + 25% extra for file names, benconding overhead, etc */
    2931    private static final int MAX_METADATA_SIZE = Storage.MAX_PIECES * 20 * 5 / 4;
  • apps/i2psnark/java/src/org/klomp/snark/Peer.java

    r4d4bfa0 r8d59fd1  
    8080  static final long OPTION_FAST      = 0x0000000000000004l;
    8181  static final long OPTION_DHT       = 0x0000000000000001l;
     82  static final long OPTION_AZMP      = 0x1000000000000000l;
    8283  private long options;
    8384
Note: See TracChangeset for help on using the changeset viewer.