Guest User

Untitled

a guest
Jun 20th, 2018
135
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.28 KB | None | 0 0
  1. <?php
  2.  
  3. $_config = [
  4.  
  5. /*
  6. |--------------------------------------------------------------------------
  7. | Database
  8. |--------------------------------------------------------------------------
  9. */
  10.  
  11. // The database PDO connection string.
  12. 'db_connect' => 'mysql:host=localhost;dbname=ENTER-DB-NAME',
  13.  
  14. // The database username.
  15. 'db_user' => 'ENTER-DB-USER',
  16.  
  17. // The database password.
  18. 'db_pass' => 'ENTER-DB-PASS',
  19.  
  20. /*
  21. |--------------------------------------------------------------------------
  22. | General
  23. |--------------------------------------------------------------------------
  24. */
  25.  
  26. // Enable the testnet development mode.
  27. 'testnet' => false,
  28.  
  29. // This is to avoid issues if clones of Arionum are created.
  30. 'coin' => 'arionum',
  31.  
  32. // Allow updating the Nodes hostname value.
  33. 'allow_hostname_change' => false,
  34.  
  35. // Default timezone to be set.
  36. 'timezone' => 'UTC',
  37.  
  38. /*
  39. |--------------------------------------------------------------------------
  40. | Peers
  41. |--------------------------------------------------------------------------
  42. */
  43.  
  44. // The maximum number of connected peers.
  45. 'max_peers' => 30,
  46.  
  47. // How many new peers to check from each peer.
  48. 'max_test_peers' => 5,
  49.  
  50. /*
  51. |--------------------------------------------------------------------------
  52. | Memory Pool
  53. |--------------------------------------------------------------------------
  54. */
  55.  
  56. // The maximum number of transactions to be accepted from a single peer.
  57. 'peer_max_mempool' => 100,
  58.  
  59. // Maximum mempool transactions to be rebroadcast.
  60. 'max_mempool_rebroadcast' => 5000,
  61.  
  62. // After how many blocks should the transactions be rebroadcast.
  63. 'sanity_rebroadcast_height' => 30,
  64.  
  65. // Each new received transaction is sent to X peers.
  66. 'transaction_propagation_peers' => 5,
  67.  
  68. // Recheck the last blocks on sanity.
  69. 'sanity_recheck_blocks' => 10,
  70.  
  71. /*
  72. |--------------------------------------------------------------------------
  73. | API
  74. |--------------------------------------------------------------------------
  75. */
  76.  
  77. // Allow others to connect to node api. If set to false, only allowed_hosts are allowed.
  78. 'public_api' => true,
  79.  
  80. // Hosts allowed to mine on this node.
  81. 'allowed_hosts' => [
  82. '127.0.0.1',
  83. ],
  84.  
  85. /*
  86. |--------------------------------------------------------------------------
  87. | Sanity
  88. |--------------------------------------------------------------------------
  89. */
  90.  
  91. // Sanity is run every X seconds.
  92. 'sanity_interval' => 900,
  93.  
  94. // Rebroadcast local transactions on each sanity.
  95. 'sanity_rebroadcast_locals' => true,
  96.  
  97. /*
  98. |--------------------------------------------------------------------------
  99. | Logging
  100. |--------------------------------------------------------------------------
  101. |
  102. */
  103.  
  104. // Write logs to file.
  105. 'enable_logging' => false,
  106.  
  107. // Log file, should not be publicly viewable.
  108. 'log_file' => '/var/log/aro.log',
  109.  
  110. ];
Add Comment
Please, Sign In to add comment