Advertisement
Guest User

Untitled

a guest
Mar 12th, 2019
289
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.65 KB | None | 0 0
  1. # Endpoint for P2P node to listen on
  2. p2p-endpoint = 0.0.0.0:2001
  3.  
  4. # Maxmimum number of incoming connections on P2P endpoint
  5. # p2p-max-connections =
  6.  
  7. # P2P nodes to connect to on startup (may specify multiple times)
  8. seed-node = 35.183.138.117:2001
  9. seed-node = 18.217.66.193:2001
  10. seed-node = 13.52.15.197:2001
  11. seed-node = 52.32.235.184:2001
  12. seed-node = 185.197.30.13:2001
  13.  
  14. # Pairs of [BLOCK_NUM,BLOCK_ID] that should be enforced as checkpoints.
  15. # checkpoint =
  16.  
  17. # Location of the shared memory file. Defaults to data_dir/blockchain
  18. # shared-file-dir =
  19.  
  20. # Size of the shared memory file. Default: 54G
  21. shared-file-size = 54G
  22.  
  23. # Endpoint for websocket RPC to listen on
  24. rpc-endpoint = 0.0.0.0:8090
  25.  
  26. # Endpoint for TLS websocket RPC to listen on
  27. # rpc-tls-endpoint =
  28.  
  29. # Endpoint to forward write API calls to for a read node
  30. # read-forward-rpc =
  31.  
  32. # The TLS certificate file for this server
  33. # server-pem =
  34.  
  35. # Password for this certificate
  36. # server-pem-password =
  37.  
  38. # API user specification, may be specified multiple times
  39. # api-user =
  40.  
  41. # Set an API to be publicly available, may be specified multiple times
  42. #public-api = database_api login_api account_by_key_api follow_api
  43.  
  44. # Plugin(s) to enable, may be specified multiple times
  45. #enable-plugin = witness account_history account_by_key follow
  46.  
  47. # Set an API to be publicly available, may be specified multiple times
  48. public-api = database_api login_api account_by_key_api network_broadcast_api tag_api follow_api raw_block_api
  49.  
  50. # Plugin(s) to enable, may be specified multiple times
  51. enable-plugin = witness account_history account_by_key tags follow raw_block
  52.  
  53. # Maximum age of head block when broadcasting tx via API
  54. max-block-age = 2000
  55.  
  56. # Flush shared memory file to disk this many blocks
  57. flush = 100000
  58.  
  59. # Defines a range of accounts to track as a json pair ["from","to"] [from,to] Can be specified multiple times
  60. # track-account-range =
  61.  
  62. # Defines a list of operations which will be explicitly logged.
  63. # history-whitelist-ops =
  64.  
  65. # Defines a list of operations which will be explicitly ignored.
  66. # history-blacklist-ops =
  67.  
  68. # Track account statistics by grouping orders into buckets of equal size measured in seconds specified as a JSON array of numbers
  69. account-stats-bucket-size = [60,3600,21600,86400,604800,2592000]
  70.  
  71. # How far back in time to track history for each bucker size, measured in the number of buckets (default: 100)
  72. account-stats-history-per-bucket = 100
  73.  
  74. # Which accounts to track the statistics of. Empty list tracks all accounts.
  75. account-stats-tracked-accounts = []
  76.  
  77. # Track blockchain statistics by grouping orders into buckets of equal size measured in seconds specified as a JSON array of numbers
  78. chain-stats-bucket-size = [60,3600,21600,86400,604800,2592000]
  79.  
  80. # How far back in time to track history for each bucket size, measured in the number of buckets (default: 100)
  81. chain-stats-history-per-bucket = 100
  82.  
  83. # Database edits to apply on startup (may specify multiple times)
  84. # edit-script =
  85.  
  86. # RPC endpoint of a trusted validating node (required)
  87. # trusted-node =
  88.  
  89. # Set the maximum size of cached feed for an account
  90. follow-max-feed-size = 500
  91.  
  92. # Block time (in epoch seconds) when to start calculating feeds
  93. follow-start-feeds = 0
  94.  
  95. # Track market history by grouping orders into buckets of equal size measured in seconds specified as a JSON array of numbers
  96. market-history-bucket-size = [15,60,300,3600,86400]
  97.  
  98. # How far back in time to track history for each bucket size, measured in the number of buckets (default: 5760)
  99. market-history-buckets-per-size = 5760
  100.  
  101. # Defines a range of accounts to private messages to/from as a json pair ["from","to"] [from,to)
  102. # pm-account-range =
  103.  
  104. # Enable block production, even if the chain is stale.
  105. enable-stale-production = false
  106.  
  107. # Percent of witnesses (0-99) that must be participating in order to produce blocks
  108. required-participation = false
  109.  
  110. # name of witness controlled by this node (e.g. initwitness )
  111. witness = "node_name"
  112.  
  113. # WIF PRIVATE KEY to be used by one or more witnesses or miners
  114. private-key = PRIVKEY
  115.  
  116. # declare an appender named "stderr" that writes messages to the console
  117. [log.console_appender.stderr]
  118. stream=std_error
  119.  
  120. # declare an appender named "p2p" that writes messages to p2p.log
  121. [log.file_appender.p2p]
  122. filename=logs/p2p/p2p.log
  123. # filename can be absolute or relative to this config file
  124.  
  125. # route any messages logged to the default logger to the "stderr" logger we
  126. # declared above, if they are info level are higher
  127. [logger.default]
  128. level=warn
  129. appenders=stderr
  130.  
  131. # route messages sent to the "p2p" logger to the p2p appender declared above
  132. [logger.p2p]
  133. level=warn
  134. appenders=p2p
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement