elements-cli should suggest `-chain=X` when failing to connect to a daemon

Open
#1,500 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
38/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
cpp
Domain
blockchain, cli

Research direction

Start at the elements-cli code that handles daemon connection failures and trace the path used when the default daemon cannot be reached. Make the failure message suggest using -chain=X, then check the relevant CLI tests or manual error output to confirm the guidance appears.

Written by the indexing model from the issue text.

Description

It's super undiscoverable that you just get "connection failed" if you try connecting to the default daemon.

Dominant language
C++
Stars
1.2k
Forks
418
Avg merge
1d 23h
Merged PRs (30d)
15

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from ElementsProject/elements

All issues in ElementsProject/elements

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.