pegnet.ini.EXAMPLE 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. [Debug]
  2. # Randomize adds a random factor +/- the give percent. 3.1 for 3.1%
  3. Randomize=0.0
  4. # Turns on logging so the user can see the OPRs and mining balances as they update
  5. Logging=true
  6. # Puts the logs in a file. If not specified, logs are written to stdout
  7. LogFile=
  8. [Miner]
  9. # Factom Connection Options
  10. FactomdLocation="factomd:8088"
  11. WalletdLocation="factom_walletd:8089"
  12. # Options to setup a networked miner to a coordinator
  13. MiningCoordinatorPort=:7777
  14. MiningCoordinatorHost=localhost:7777
  15. # This is used to authenticate via challenge + response to the coordinator.
  16. # If the coordinator and miner have different secrets, they will not connect to each
  17. # other.
  18. CoordinatorSecret="hunter2"
  19. UseCoordinatorAuthentication=true
  20. NumberOfMiners=1
  21. # The number of records to submit per block. The top N records are chosen, where N is the config value
  22. RecordsPerBlock=3
  23. # The targeted cutoff. If our difficulty will land us in the top 300 (estimated), we will submit our OPR.
  24. # <=0 will disable this check.
  25. SubmissionCutOff=200
  26. Protocol=PegNet
  27. Network=MainNet
  28. ECAddress=CHANGEME
  29. FCTAddress=CHANGEME
  30. CoinbaseAddress=CHANGEME
  31. IdentityChain=CHANGEME
  32. # This section must ONLY include data sources and their priorities. Any configuration
  33. # related to a source should be specified in the [Oracle] section.
  34. # -1 == disabled
  35. [OracleDataSources]
  36. # Always rank this the highest at 0. It pegs USD at 1USD = 1USD.
  37. # This is not a website, this is a hardcoded '1'. Don't change this
  38. FixedUSD=0
  39. # ----------------
  40. # Paid Sources
  41. APILayer=-1
  42. 1Forge=-1
  43. # ----------------
  44. # Free sources, signup required
  45. CoinMarketCap=-1
  46. # Hourly data for the commodities
  47. OpenExchangeRates=9
  48. # ----------------
  49. # Free sources, no signup required
  50. FreeForexAPI=3
  51. AlternativeMe=1
  52. CoinCap=-1
  53. # Web scraping, rank it low
  54. Kitco=-1
  55. # Insert keys for any data source you ahve specified above where the priority is > -1
  56. [Oracle]
  57. # Must get a key from here https://apilayer.com/
  58. APILayerKey=CHANGEME
  59. # Must get an api key here https://openexchangerates.org/
  60. OpenExchangeRatesKey=CHANGEME
  61. # Must get an api key here https://coinmarketcap.com/api/
  62. CoinMarketCapKey=CHANGEME
  63. # Must get an api key here https://1forge.com/forex-data-api
  64. 1ForgeKey=CHANGEME
  65. # This section should be done with caution. There is no error handling
  66. # if you put in a bad order or use datasources that you did not enable.
  67. [OracleAssetDataSourcesPriority]
  68. # Example to overrride BTC order
  69. # XBT=CoinMarketCap,OpenExchangeRates,CoinCap