Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No peers #1

Open
wizardofwhere1 opened this issue Sep 16, 2019 · 2 comments
Open

No peers #1

wizardofwhere1 opened this issue Sep 16, 2019 · 2 comments

Comments

@wizardofwhere1
Copy link

I set up the bithereum node tool according to the video and I have the following issues: the second node shows status of running but shows no Height or Peers. Both nodes show an IP 127.0.0.1 which is not the IP assigned by the router or the one assigned by my ISP. I don't have the option to assign an IP so not sure how to handle that. Thx

@elaz48
Copy link

elaz48 commented Sep 16, 2019

I set up the bithereum node tool according to the video and I have the following issues: the second node shows status of running but shows no Height or Peers. Both nodes show an IP 127.0.0.1 which is not the IP assigned by the router or the one assigned by my ISP. I don't have the option to assign an IP so not sure how to handle that. Thx

The 127.0.0.1 is the IP of localhost. It's not an issue because you are running your nodes locally on your PC.

Try to modify your config.json file in the bithereum-node-tool folder as the following:
(it can be found in ~/bithereum-node-tool on Linux, I don't know the Windows / Mac version)

{"created_nodes":[{"datadir":"/home/node1","ipaddress":"127.0.0.1","rpcport":18554,"p2pport":18553,"rpcusername":"forexample1","rpcpassword":"putadifficultonehere1","address":"your_bth_address_number1"},{"datadir":"/home/node2","ipaddress":"127.0.0.1","rpcport":18556,"p2pport":18555,"rpcusername":"forexample2","rpcpassword":"putadifficultonehere2","address":"your_bth_address_number2"}],"existing_nodes":[],"removed_nodes":[],"cache":{"welcomeseen":true}}

@wizardofwhere1
Copy link
Author

I appreciate your help. I updated the json file with the info youprovided and now #1 runs, #2 will not run at all and the Height and Peers column is blank for both. So I deleted everything and started from scratch. I extracted the blockchain to the first folder and created the node as per the video. I performed the exact steps to create the second node as per the video. What I found was that node 1 folder contains (blocks, chainstate, database folders and banlist.dat, beth.pid, bth_keys.json, db.log, debug.log, free_estimates.dat, mempool,dat, peers, dat, wallet dat) node 2 folder contains (blocks, chainstate folders, bth_keys.json, debug.log files but none of the other files) the node folders/files are different despite following the same steps for both. Just FYI. I'm running Ubuntu mate 16.05 THx for the help BTW

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants