mirror of
https://github.com/romanz/electrs.git
synced 2025-02-25 15:20:36 +01:00
36 lines
1.6 KiB
TOML
36 lines
1.6 KiB
TOML
# DO NOT EDIT THIS FILE DIRECTLY - COPY IT FIRST!
|
|
# If you edit this, you will cry a lot during update and will not want to live anymore!
|
|
|
|
# This is an EXAMPLE of how configuration file should look like.
|
|
# Do NOT blindly copy this and expect it to work for you!
|
|
# If you don't know what you're doing consider using automated setup or ask an experienced friend.
|
|
|
|
# This example contains only the most important settings.
|
|
# See docs or electrs man page for advanced settings.
|
|
|
|
# Set if you have low-memory device (such as RPi) or you run electrs under a different user than bitcoind and do NOT have sysperms in bitcoind.
|
|
jsonrpc_import = true
|
|
|
|
# File where bitcoind stores the cookie, usually file .cookie in its datadir
|
|
cookie_file = "/var/run/bitcoin-mainnet/cookie"
|
|
|
|
# Prefer cookie file unless you have btc-rpc-proxy or a good reason to use username:password
|
|
# cookie and cookie_file can NOT be specified at the same tie.
|
|
# cookie = "username:password"
|
|
|
|
# The listening address of bitcoind, port is usually 8332
|
|
daemon_rpc_addr = "127.0.0.1:8332"
|
|
|
|
# Directory where the index should be stored. It should have at least 70GB of free space.
|
|
db_dir = "/some/fast/storage/with/big/size"
|
|
|
|
# bitcoin means mainnet. Don't set to anything else unless you're a developer.
|
|
network = "bitcoin"
|
|
|
|
# The address on which electrs should listen. Warning: 0.0.0.0 is probably a bad idea!
|
|
# Tunneling is the recommended way to access electrs remotely.
|
|
electrum_rpc_addr = "127.0.0.1:50001"
|
|
|
|
# How much information about internal workings should electrs print. Increase before reporting a bug.
|
|
verbose = 3
|
|
|