nse.conf.in 1.3 KB

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