forked from Beldex-Coin/beldex-explorer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.py
35 lines (29 loc) · 1.33 KB
/
config.py
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
# Default configuration options for block explorer.
#
# To override settings add `config.whatever = ...` into `local_config.py`; adding settings *here*
# will often cause git conflicts.
#
# To override things that are specific to mainnet/testnet/etc. add `config.whatever = ...` lines
# into `mainnet.py`/`testnet.py`/etc.
# LMQ RPC endpoint of beldexd; can be a unix socket 'ipc:///path/to/beldexd.sock' (preferred) or a tcp
# socket 'tcp://127.0.0.1:5678'. Typically you want this running with admin permission.
# Leave this as None here, and set it for each beldex in the mainnet.py/testnet.py/etc. script.
beldexd_rpc = 'ipc://beldex-explorer/testnet.sock'
# Default blocks per page for the index.
blocks_per_page=20
# Maximum blocks per page a user can request
max_blocks_per_page=100
# Some display and/or feature options:
pusher=False
key_image_checker=False
output_key_checker=False
autorefresh_option=True
enable_mixins_details=True
# URLs to networks other than the one we are on:
mainnet_url='https://explorer.beldex.io'
testnet_url='https://testnet.beldex.io'
devnet_url='https://devnet.beldex.io'
# Same as above, but these apply if we are on a .beldex URL:
beldexnet_mainnet_url='http://blocks.beldex'
beldexnet_testnet_url='http://testnet.beldex'
beldexnet_devnet_url='http://devnet.kcpyawm9se7trdbzncimdi5t7st4p5mh9i1mg7gkpuubi4k4ku1y.beldex'