bcgov / bcgov/von-network

Cannot modify the port number of nodes

Open
#268 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
170
Forks
189
PR merge metrics
No merged PRs in 30d

Description

The purpose of modifying the port number is for testing the multiledger of the ACA-Py. I just go through the code of generate_indy_pool_transaction, it has port 9700 as default.
![image](https://github.com/bcgov/von-network/assets/5119512/00fce8b9-46f5-45c1-8c7a-faa53c3b329d)

Even, I tried to put node 5 6 7 8 to the 2nd ledger, i still got an error. I think it would be great if we can specify the port number of client_ip and node_ip (client_ip:node_ip) in this `von_generate_transactions` in the `bin` directory.

image

Thank you very much!

Contributor guide

Open the contributing guide

Research direction

Start with bin/von_generate_transactions and trace generate_indy_pool_transaction, where port 9700 is currently used by default. Check how client_ip and node_ip are passed for nodes on a second ledger. Done means the command accepts specified client and node ports and multiledger transaction generation no longer fails for that setup.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
distributed-systems, networking
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.