Configuring bark
You can configure bark using environment variables, a config.toml configuration file, or both.
Environment variables
Available environment variables:
BARK_VERBOSE(1ortrue): set verbose loggingBARK_QUIET(1ortrue): set no loggingBARK_DATADIR: set the datadir to useBARK_LOG: set aenv_logger-style filter for logging (f.e.infoorinfo,bark=trace, ...)
Default datadir
To check your default datadir, run the following command:
bark help
Configuration file
Go to bark datadir and you should find a config.toml file. Here are the available configuration variables:
server_address: the address of your ark serveresplora_address: the address of the Esplora HTTP REST server to usebitcoind_address: the address of the bitcoind RPC server to usebitcoind_cookiefile: the path to the bitcoind rpc cookie filebitcoind_user: the bitcoind RPC usernamebitcoind_pass: the bitcoind RPC passwordvtxo_refresh_expiry_threshold: the number of blocks before expiration to refresh vtxosvtxo_exit_margin: an upper limit of the number of blocks we expect to need to safely exit the vtxoshtlc_recv_claim_delta: the number of blocks to claim a HTLC-recv VTXOfallback_fee_rate: a fallback fee rate to use in sat/kWu when we fail to retrieve a fee rate from the configured bitcoind/esplora connectionround_tx_required_confirmations: the number of confirmations required before considering a round tx fully confirmed
Check the configuration struct on the bark repository here.