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 17, 2018 in Blockchain by Shashank
• 10,400 points
534 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 17, 2018 by Shashank
• 10,400 points

Related Questions In Blockchain

0 votes
1 answer

How to sync private nodes in geth and testRPC locally?

HI. As much as I know, running ...READ MORE

answered Jan 16, 2019 in Blockchain by Omkar
• 69,210 points
1,059 views
+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
1,807 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,100 points

edited Aug 10, 2018 by Omkar 2,458 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
1,689 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,740 points
43,934 views
0 votes
1 answer

Hyperledger Sawtooth vs Quorum in concurrency and speed Ask

Summary: Both should provide similar reliability of ...READ MORE

answered Sep 26, 2018 in IoT (Internet of Things) by Upasana
• 8,620 points
1,231 views
+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,400 points
701 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP