95 lines
2.5 KiB
Bash
95 lines
2.5 KiB
Bash
# Configuration variables for running Zebra in Docker
|
|
|
|
# Sets the network Zebra runs will run on.
|
|
#
|
|
# NETWORK=Mainnet
|
|
|
|
# Zebra's RPC server is disabled by default. To enable it, set its port number.
|
|
#
|
|
# ZEBRA_RPC_PORT=8232 # Default RPC port number on Mainnet.
|
|
# ZEBRA_RPC_PORT=18323 # Default RPC port number on Testnet.
|
|
|
|
# To disable cookie authentication, set the value below to false.
|
|
#
|
|
# ENABLE_COOKIE_AUTH=true
|
|
|
|
# Sets a custom directory for the state and network caches. Zebra will also
|
|
# store its cookie authentication file in this directory.
|
|
#
|
|
# ZEBRA_CACHE_DIR="/home/zebra/.cache/zebra"
|
|
|
|
# Sets custom Cargo features. Available features are listed at
|
|
# <https://docs.rs/zebrad/latest/zebrad/index.html#zebra-feature-flags>.
|
|
#
|
|
# Must be set at build time.
|
|
#
|
|
# FEATURES=""
|
|
|
|
# Logging to a file is disabled by default. To enable it, uncomment the line
|
|
# below and alternatively set your own path.
|
|
#
|
|
# LOG_FILE="/home/zebra/.local/state/zebrad.log"
|
|
|
|
# Zebra recognizes whether its logs are being written to a terminal or a file,
|
|
# and uses colored logs for terminals and uncolored logs for files. Setting the
|
|
# variable below to true will force colored logs even for files and setting it
|
|
# to false will disable colors even for terminals.
|
|
#
|
|
# LOG_COLOR=true
|
|
|
|
# To disable logging to journald, set the value to false.
|
|
#
|
|
# USE_JOURNALD=true
|
|
|
|
# If you are going to use Zebra as a backend for a mining pool, set your mining
|
|
# address.
|
|
#
|
|
# MINER_ADDRESS="your_mining_address"
|
|
|
|
# Controls the output of `env_logger`:
|
|
# https://docs.rs/env_logger/latest/env_logger/
|
|
#
|
|
# Must be set at build time.
|
|
#
|
|
# RUST_LOG=info
|
|
|
|
# Unit tests
|
|
|
|
# TODO: These variables are evaluated to any value, even setting a NULL value
|
|
# will evaluate to true.
|
|
#
|
|
# TEST_FAKE_ACTIVATION_HEIGHTS=
|
|
# ZEBRA_SKIP_NETWORK_TESTS=
|
|
# ZEBRA_SKIP_IPV6_TESTS=
|
|
RUN_ALL_TESTS=
|
|
TEST_ZEBRA_EMPTY_SYNC=
|
|
ZEBRA_TEST_LIGHTWALLETD=
|
|
|
|
# Integration Tests
|
|
|
|
# Most of these tests require a cached state directory to save the network state.
|
|
TEST_DISK_REBUILD=
|
|
TEST_CHECKPOINT_SYNC=
|
|
GENERATE_CHECKPOINTS_MAINNET=
|
|
GENERATE_CHECKPOINTS_TESTNET=
|
|
TEST_UPDATE_SYNC=
|
|
TEST_SCANNER=
|
|
|
|
# These tests need a Lightwalletd binary + a Zebra cached state.
|
|
TEST_LWD_RPC_CALL=
|
|
TEST_GET_BLOCK_TEMPLATE=
|
|
TEST_SUBMIT_BLOCK=
|
|
|
|
# These tests need a Lightwalletd binary + Lightwalletd cached state + a Zebra
|
|
# cached state.
|
|
TEST_LWD_UPDATE_SYNC=
|
|
TEST_LWD_GRPC=
|
|
TEST_LWD_TRANSACTIONS=
|
|
|
|
# Full sync tests
|
|
|
|
# These tests take 3 days on Mainnet and one day on Testnet.
|
|
FULL_SYNC_MAINNET_TIMEOUT_MINUTES=
|
|
FULL_SYNC_TESTNET_TIMEOUT_MINUTES=
|
|
TEST_LWD_FULL_SYNC=
|