How can I sync geth and testrpc private nodes locally?

0 votes
I have to nodes running. one on geth and other on testRPC. how can I sync both the nodes if I want to write a smart contract in both private nodes to contribute
May 16, 2018 in Blockchain by Shashank
• 10,350 points
46 views

1 answer to this question.

0 votes

node running on testrpc cannot be connected to or by other nodes unles they have same genesis file. Testrpc is a standalone node. It would be simpler to create two or more private nodes and have them sync. Moreover, to get them to sync you will have to use admin.addPeers() in the geth console. so that nodes can communicate with each other. You have to enter the node id of the node you want to sync with.

answered May 16, 2018 by Shashank
• 10,350 points

Related Questions In Blockchain

0 votes
1 answer
+1 vote
1 answer

How can I connect to the specified nodes using IPFS?

You can actually connect to the specific ...READ MORE

answered Apr 25, 2018 in Blockchain by Christine
• 15,790 points
477 views
0 votes
1 answer

How can I deploy a HelloWorld contract on my testrpc network?

The problem lies in the command: truffle migrate Your truffle migrate command ...READ MORE

answered Apr 27, 2018 in Blockchain by Perry
• 17,020 points

edited Aug 10, 2018 by Omkar 516 views
0 votes
1 answer

How can I simulate private bitcoin network with random peer discovery?

You can model the whatever network you ...READ MORE

answered May 28, 2018 in Blockchain by Johnathon
• 9,080 points
51 views
0 votes
1 answer

Truffle tests not running after truffle init

This was a bug. They've fixed it. ...READ MORE

answered Sep 11, 2018 in Blockchain by Christine
• 15,790 points
173 views
+1 vote
3 answers

Removing double quotes from a string from JSON response in PHP

Just remove the json_encode call, and it should work: $resp ...READ MORE

answered Sep 12, 2018 in Blockchain by digger
• 26,550 points
4,471 views
0 votes
1 answer
+1 vote
1 answer

How can I initiate a transaction on ethereum private network using mobile device?

There is no android wallet to connect ...READ MORE

answered Apr 18, 2018 in Blockchain by Shashank
• 10,350 points
65 views