Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create ~/.qrl/config.yml file on install and populate with default settings #1342

Open
fr1t2 opened this issue May 25, 2018 · 0 comments
Open

Comments

@fr1t2
Copy link
Member

fr1t2 commented May 25, 2018

Create upon install a config file in the default directory with all settings commented out. Allowing users an easy way to modify the default settings. Below is an example that may need some work, but is a start.

# ======================================
#    Mining Configuration
# ======================================
# mining_enabled: False
# mining_address: ‘’
# mining_thread_count: 0  # 0 to auto detect thread count based on CPU/GPU number of processors

# ======================================
#    Ephemeral Configuration
# ======================================

# accept_ephemeral: True
# outgoing_message_expiry: 90 


# Cache Size
# lru_state_cache_size: 10
# max_state_limit: 10

# ======================================
#    P2P Configuration
# ======================================
# enable_peer_discovery: True  # Allows to discover new peers from the connected peers

# peer_list: 
#  - 104.251.219.215
#  - 104.251.219.145
#  - 104.251.219.40
#  - 104.237.3.185
#  - 35.177.60.137

# p2p_local_port: 9000
# p2p_public_port: 9000
# peer_rate_limit: 500  # Max Number of messages per minute per peer

# ntp_servers:
#   - pool.ntp.org
#   - ntp.ubuntu.com


# ban_minutes: 20              # Allows to ban a peer's IP who is breaking protocol
# monitor_connections_interval: 30
# max_peers_limit: 100  # Number of allowed peers
# chain_state_timeout: 180

# chain_state_broadcast_period: 30		# must be less than ping_timeout
# transaction_pool_size: 25000
# pending_transaction_pool_size: 75000
# stale_transaction_threshold: 15		# 15 Blocks

# ======================================
#        ADMIN API CONFIGURATION
# ======================================
# admin_api_enabled: False
# admin_api_host: "127.0.0.1"
# admin_api_port: 9008
# admin_api_threads: 1
# admin_api_max_concurrent_rpc: 100


# ======================================
#        PUBLIC API CONFIGURATION
# ======================================
# public_api_enabled: True
# public_api_host: "0.0.0.0"
# public_api_port: 9009
# public_api_threads: 1
# public_api_max_concurrent_rpc: 100


# ======================================
#        MINING API CONFIGURATION
# ======================================
# mining_api_enabled: False
# mining_api_host: "127.0.0.1"
# mining_api_port: 9007
# mining_api_threads: 1
# mining_api_max_concurrent_rpc: 100

# ======================================
#        GRPC PROXY CONFIGURATION
# ======================================
# grpc_proxy_host: "127.0.0.1"
# grpc_proxy_port: 18090
# p2p_q_size: 1000
# outgoing_message_expiry: 90  # Outgoing message expires after 90 seconds

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants