forked from bitcoinroyale/explorer
-
Notifications
You must be signed in to change notification settings - Fork 9
/
.env-sample
66 lines (49 loc) · 2.16 KB
/
.env-sample
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
# Optional logging settings, see comments after each for more info
DEBUG=app
#DEBUG=btcexp:* # Enable all logging specific to btc-rpc-explorer
#DEBUG=btcexp:app,btcexp:error # Default logging setting if "DEBUG" is not set
BTCEXP_COIN=BTCV
# Host/Port to bind to
BTCEXP_HOST=0.0.0.0
BTCEXP_PORT=3002
# Bitcoin RPC Credentials (URI -OR- HOST/PORT/USER/PASS)
#BTCEXP_BITCOIND_URI=bitcoin://rpcusername:[email protected]:8332?timeout=10000
BTCEXP_BITCOIND_HOST=bitcoinvault
BTCEXP_BITCOIND_PORT=18332
BTCEXP_BITCOIND_USER=user
BTCEXP_BITCOIND_PASS=password
#BTCEXP_BITCOIND_COOKIE=/path/to/bitcoind/.cookie
#BTCEXP_BITCOIND_RPC_TIMEOUT=5000
# Select optional "address API" to display address tx lists and balances
# Options: electrumx, blockchain.com, blockchair.com, blockcypher.com
# If electrumx set, the BTCEXP_ELECTRUMX_SERVERS variable must also be
# set.
BTCEXP_ADDRESS_API=electrumx
# Optional ElectrumX Servers. See BTCEXP_ADDRESS_API. This value is only
# used if BTCEXP_ADDRESS_API=electrumx
BTCEXP_ELECTRUMX_SERVERS=tcp://electrumx:50001
# Set number of concurrent RPC requests. Should be lower than your node's "rpcworkqueue" value.
# The default for this value is 10, aiming to be less than Bitcoin Core's default rpcworkqueue=16.
BTCEXP_RPC_CONCURRENCY=32
# Disable app's in-memory RPC caching to reduce memory usage
BTCEXP_NO_INMEMORY_RPC_CACHE=true
# Optional redis server for RPC caching
#BTCEXP_REDIS_URL=redis://localhost:6379
#BTCEXP_COOKIE_SECRET=0000aaaafffffgggggg
# Privacy mode disables:
# Exchange-rate queries, IP-geolocation queries
BTCEXP_PRIVACY_MODE=true
# Don't request currency exchange rates
#BTCEXP_NO_RATES=true
# Enable to allow access to all RPC methods
#BTCEXP_RPC_ALLOWALL=true
# Custom RPC method blacklist
#BTCEXP_RPC_BLACKLIST=signrawtransaction,sendtoaddress,stop,...
#BTCEXP_GANALYTICS_TRACKING=UA-XXXX-X
#BTCEXP_SENTRY_URL=https://[email protected]/XXXX
#BTCEXP_IPSTACK_APIKEY=000000fffffaaaaa
# Optional value for "max_old_space_size", default: 1024
#BTCEXP_OLD_SPACE_MAX_SIZE=2048
# Show tools list in a sub-nav at top of screen (default: true)
BTCEXP_UI_SHOW_TOOLS_SUBHEADER=true
BTCEXP_STATS_API_URL=https://stats.bitcoinvault.global/api