Advertisement
Guest User

Untitled

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