mirror of
https://github.com/LORDBABUINO/stealth.git
synced 2026-04-30 01:19:58 -07:00
setup.sh starts bitcoind with -datadir=bitcoin-data, but bitcoin_rpc.py was calling bitcoin-cli without it, so it looked in ~/.bitcoin for the auth cookie and failed with "Incorrect rpcuser or rpcpassword". Add datadir config to config.ini and resolve it in _build_base_args().
18 lines
465 B
INI
18 lines
465 B
INI
[bitcoin]
|
|
# Network to connect to: regtest | testnet | signet | mainnet
|
|
network = regtest
|
|
|
|
# Path to the bitcoin-cli binary (use full path if not on PATH)
|
|
cli = bitcoin-cli
|
|
|
|
# Data directory for bitcoind (matches setup.sh).
|
|
# Relative paths are resolved from the directory containing this file.
|
|
datadir = bitcoin-data
|
|
|
|
# Optional: override RPC connection details.
|
|
# Leave these blank to use cookie auth from the datadir.
|
|
rpchost =
|
|
rpcport =
|
|
rpcuser =
|
|
rpcpassword =
|