bcgov / von-network

A portable development level Indy Node network.
Apache License 2.0
157 stars 184 forks source link

In the genesis file, configure node_ip and client_ip differently. #264

Open mertaskaroglu01 opened 1 year ago

mertaskaroglu01 commented 1 year ago

Is it possible to set the client IP address to a public IP address while keeping the node IP address private in the Genesis file? Is there any way to configure these two addresses differently?

WadeBarnes commented 1 year ago

While theoretically possible von-network is mean for provisional use cases where using public IP addresses typically won't occur or won't be an issue. Further Indy-Node, in a production use case, is designed to be a distributed system where nodes will only have access to each other through public IP addresses.

darapich92 commented 1 year ago

Hi @WadeBarnes, could you let me know about how to change the port number of nodes in the genesis file of ./manage up? I tried to check the code in the von-network folder, but cannot find it. Some people said i need to manually modify the port number of nodes in the genesis file of each node.

WadeBarnes commented 1 year ago

@darapich92, Your issue seems unrelated to this ticket, you should open a separate issue if it is. Could you provide additional details on why you need to change the port numbers?

darapich92 commented 1 year ago

@WadeBarnes, I am afraid to issue a new ticket so that i asked you here. 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

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!

WadeBarnes commented 1 year ago

@darapich92, This is definitely off topic for this issue. Please create a new issue dedicated to your questions.

darapich92 commented 1 year ago

@WadeBarnes okay, i will make a new issue.