nse.conf.in 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. [nse]
  2. START_ON_DEMAND = @START_ON_DEMAND@
  3. IMMEDIATE_START = YES
  4. @JAVAPORT@PORT = 2097
  5. HOSTNAME = localhost
  6. BINARY = gnunet-service-nse
  7. ACCEPT_FROM = 127.0.0.1;
  8. ACCEPT_FROM6 = ::1;
  9. UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-service-nse.sock
  10. UNIX_MATCH_UID = NO
  11. UNIX_MATCH_GID = YES
  12. PROOFFILE = $GNUNET_DATA_HOME/nse/proof.dat
  13. # The directory where the NSE services logs timestamps every time
  14. # a size estime flooding message is received
  15. # This option is only used for benchmarking, not in production.
  16. HISTOGRAM_DIR = $GNUNET_CACHE_HOME/nse/histogram
  17. # How 'slowly' should the proof-of-work be constructed (delay
  18. # between rounds); sane values between 0 and ~1000.
  19. # It should rarely make sense to change this value.
  20. # Only systems with slow CPUs where 5ms is a long time might
  21. # want it to be reduced.
  22. WORKDELAY = 5 ms
  23. # Note: changing any of the values below will make this peer
  24. # completely incompatible with other peers!
  25. # How often do peers exchange network size messages?
  26. # Note that all peers MUST use the same interval.
  27. # DO NOT CHANGE THIS VALUE, doing so will break the protocol!
  28. INTERVAL = 1 h
  29. # 2^22 hash operations take about 2-3h on a first-generation i7 (single-core)
  30. # for SCRYPT; with 2ms/op and 5ms workdelay, we can expect
  31. # the POW calculation to be done by a high-end peer in about 6h
  32. # DO NOT CHANGE THIS VALUE, doing so will break the protocol!
  33. WORKBITS = 15