civkit / civkit-node

CivKit Node
Other
65 stars 12 forks source link

Add basic steps to get past missing mainstay/bitcoin core errors. #116

Closed MarketMadi closed 10 months ago

MarketMadi commented 11 months ago

I noticed when I run ./civkitd the main branch was panicking without these variables being set. I also specified the lack of tor support, though this is an active issue to be worked on. It feels like this clears up a common error I experienced working with the code and could be helpful for future users so i added it to the readme.

IAmBabaorum commented 10 months ago

This is the bitcoin.conf values I have locally, which are currently matching the default in src/config.rs. So one can update its own civkit node config file or used those values to configured bitcoind accordingly, both works.

# Password for JSON-RPC connections
rpcpassword=hello_world

# Username for JSON-RPC connections
rpcuser=civkitd_client

# Use the chain <chain> (default: main). Allowed values: main, test,
# signet, regtest
chain=regtest
MarketMadi commented 10 months ago

Yes @IAmBabaorum i think this error was local and is resolved. I can get it working so closing without further action. either way, one can fix this by copy pasting the values above into config.toml if it doesnt work.

MarketMadi commented 10 months ago

closing as resolved and likely localised. if reoccuring, will be reopened. i feel this is better as a note in a readme then a code change.