(low priority) option to set the node port

Open Beginner friendly
#87 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
62/100
Issue type
Feature
Clarity
Clearly specified
Activity status
Stale
Tech stack
java
Domain
cli, devtools

Research direction

Start with applications/cli/src/main/java/com/bloxbean/cardano/yacicli/localcluster/ClusterCommands.java, lines 49-62, where the linked code shows how other services take overridable ports. Look for where the node port is currently fixed at 3001, then add an option that follows the same pattern. Done when a user can pass a node port and the generated Dolos peer address reflects it.

Written by the indexing model from the issue text.

Description

To connect to the generated node (ex: from Dolos), I need to provide a node port (ex: peer_address = "localhost:3001")

I noticed there is no way to override the node port unlike other services

Of course, I can always just hardcode it to 3001 and assume it will always work, but it could be nice to have a way to manually specify the port so I can guarantee Dolos is looking at the right place when I generate my dolos config

Dominant language
Java
Stars
70
Forks
21
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

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 bloxbean/yaci-devkit

All issues in bloxbean/yaci-devkit

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.