BlockchainCommons / BlockchainCommons/Bitcoin-Standup-Scripts

bitcoin-cli not working when not logged in as standup

Open
#22 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Shell
Stars
57
Forks
36
PR merge metrics
No merged PRs in 30d

Description

After running the standup script with default options (pruned testnet), latest block height was correct. Problem I ran into was that the readme in the Bitcoin-Standup-Scripts repo has you log in as root, so when I was trying to run bitcoin-cli it was giving me "error: Could not connect to the server 127.0.0.1:8332", looking for bitcoind running on the default mainnet port. Since bitcoind was running as the user standup with a custom .conf file (specifying testnet on port 18332) it wasn't reading from the same .conf file I guess. It worked fine when changing user back to standup

Contributor guide

Open the contributing guide

Research direction

Start with the README instructions for running bitcoin-cli after the standup script creates a pruned testnet node. Check how the documented user and configuration file relate to the reported 127.0.0.1:8332 connection, and consider the work complete when the documented command uses the running standup instance rather than the default mainnet settings.

Written by the indexing model from the issue text.

Assessment

Tech stack
shell
Domain
cli
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.