getpeerinfo not listing other nodes in the network

+1 vote
Note: All running on the same machine

Created and started Chain1
--------------------------
multichain-util create chain1
multichaind chain1 -daemon
chain1@172.26.72.94:2787

Created and started Chain2
-----------------------------
multichain-util create chain2
multichaind chain1 -daemon
chain2@172.26.72.94:2753

Created Bitcoin Network
-----------------------------
multichain-util create mybitcoin
multichaind mybitcoin -daemon
mybitcoin@172.26.72.94:2877

Added the nodes as below
----------------------------
multichain-cli chain1 addnode 172.26.72.94:2753 add
multichain-cli chain2 addnode 172.26.72.94:2787 add

multichain-cli chain1 getpeerinfo - displayed as below
------------------------------
{"method":"getpeerinfo","params":[],"id":1,"chain_name":"chain1"}

[
]

1. Can anone help me if the steps followed are correct?
2. Why getpeerinfo is not working

3. How to get confirmation about chain1 and chain2 are connected to bitcoin network created
asked Dec 8, 2016 by MANJUNATH G
edited Dec 8, 2016

1 Answer

+1 vote
From chain2, issue this command
multichaind chain1@172.26.72.94:2787 -daemon

Then

multichain-cli chain1 getpeerinfo

Now start the thought process
answered Dec 8, 2016 by chunhui323
Can you be more clear on executing this command. I have started the daemon in a command prompt which enters into listening mode and no editing allowed after that.
 
Can you please let me how can I execute from chain2?
Dear Chun,
i have a similar case ,

when chain2 running ,the cli windows dont allow to run any command ,either kill the running chain2 and  run multichaind chain1@172.26.72.94:2787 -daemon or in a new CLI pass the multichaind chain1@172.26.72.94:2787 -daemon,and in both case it is similar  running chain 1 .

Can you please help by providing more details ,on how to run the multichaind chain1@172.26.72.94:2787 -daemon from chain2 running CLI
You can try using the interactive mode for the node by using the multichain-cli [chain-name] command. I'm not sure if I understood your problem correctly though.
...