Guest User

config

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