-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.sample.toml
38 lines (28 loc) · 1.57 KB
/
config.sample.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Based on https://github.com/romanz/electrs/blob/master/doc/config_example.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.
# File where bitcoind stores the cookie, usually file .cookie in its datadir.
# cookie_file and auth (password auth) cannnot be set at the same time
# cookie_file = "/var/run/bitcoin-mainnet/cookie"
# Use password auth
auth="rpcuser:rpcpassword"
# The listening RPC address of bitcoind, port is usually 8332
# Connect to bitcoind container on Docker
daemon_rpc_addr = "bitcoind:8332"
# The listening P2P address of bitcoind, port is usually 8333
# Connect to bitcoind container on Docker
daemon_p2p_addr = "bitcoind:8333"
# Directory where the index should be stored. It should have at least 70GB of free space.
db_dir = "/electrs/data/"
# 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.
log_filters = "INFO"