Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $_config = [
- /*
- |--------------------------------------------------------------------------
- | Database
- |--------------------------------------------------------------------------
- */
- // The database PDO connection string.
- 'db_connect' => 'mysql:host=localhost;dbname=ENTER-DB-NAME',
- // The database username.
- 'db_user' => 'ENTER-DB-USER',
- // The database password.
- 'db_pass' => 'ENTER-DB-PASS',
- /*
- |--------------------------------------------------------------------------
- | General
- |--------------------------------------------------------------------------
- */
- // Enable the testnet development mode.
- 'testnet' => false,
- // This is to avoid issues if clones of Arionum are created.
- 'coin' => 'arionum',
- // Allow updating the Nodes hostname value.
- 'allow_hostname_change' => false,
- // Default timezone to be set.
- 'timezone' => 'UTC',
- /*
- |--------------------------------------------------------------------------
- | Peers
- |--------------------------------------------------------------------------
- */
- // The maximum number of connected peers.
- 'max_peers' => 30,
- // How many new peers to check from each peer.
- 'max_test_peers' => 5,
- /*
- |--------------------------------------------------------------------------
- | Memory Pool
- |--------------------------------------------------------------------------
- */
- // The maximum number of transactions to be accepted from a single peer.
- 'peer_max_mempool' => 100,
- // Maximum mempool transactions to be rebroadcast.
- 'max_mempool_rebroadcast' => 5000,
- // After how many blocks should the transactions be rebroadcast.
- 'sanity_rebroadcast_height' => 30,
- // Each new received transaction is sent to X peers.
- 'transaction_propagation_peers' => 5,
- // Recheck the last blocks on sanity.
- 'sanity_recheck_blocks' => 10,
- /*
- |--------------------------------------------------------------------------
- | API
- |--------------------------------------------------------------------------
- */
- // Allow others to connect to node api. If set to false, only allowed_hosts are allowed.
- 'public_api' => true,
- // Hosts allowed to mine on this node.
- 'allowed_hosts' => [
- '127.0.0.1',
- ],
- /*
- |--------------------------------------------------------------------------
- | Sanity
- |--------------------------------------------------------------------------
- */
- // Sanity is run every X seconds.
- 'sanity_interval' => 900,
- // Rebroadcast local transactions on each sanity.
- 'sanity_rebroadcast_locals' => true,
- /*
- |--------------------------------------------------------------------------
- | Logging
- |--------------------------------------------------------------------------
- |
- */
- // Write logs to file.
- 'enable_logging' => false,
- // Log file, should not be publicly viewable.
- 'log_file' => '/var/log/aro.log',
- ];
Add Comment
Please, Sign In to add comment