How to sync private nodes in geth and testRPC locally

0 votes
I have setup 2 nodes on my system, 1 on testRPC and the other on geth. I want to sync both these nodes so that I can write a smart contract for both these accounts. How can I do this?
Jan 16, 2019 in Blockchain by slayer
• 29,370 points
1,369 views

1 answer to this question.

0 votes

HI. As much as I know, running a node on testrpc cannot be connected to by other nodes unless they have the same genesis file. TestRPC is used to run standalone nodes and not to connect other nodes.

What you can do is, create two or more private nodes and have them sync. You can use admin.addPeers() method in the geth console to connect the nodes.

answered Jan 16, 2019 by Omkar
• 69,220 points

Related Questions In Blockchain

0 votes
1 answer

How can I sync geth and testrpc private nodes locally?

node running on testrpc cannot be connected ...READ MORE

answered May 17, 2018 in Blockchain by Shashank
• 10,400 points
762 views
0 votes
1 answer

How to handle memory and processor limitations of nodes in blockchain?

Yes, that's a valid concern. The Bitcoin ...READ MORE

answered Jul 14, 2018 in Blockchain by Shashank
• 10,400 points
863 views
0 votes
1 answer

How to download the full blocks (with transactions) directly and in parallel from the connected nodes in NodesGroup?

 just got informed, that NBitcoin currently does ...READ MORE

answered Jul 31, 2018 in Blockchain by Shashank
• 10,400 points
712 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,947 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,471 views
0 votes
0 answers

Error: Unexpected token o in JSON at position 1

I have been working with Interacting a ...READ MORE

Mar 6, 2019 in Blockchain by saeedi
• 120 points

edited Mar 6, 2019 by Omkar 2,511 views
–1 vote
1 answer

How to connect two different nodes in private ethereum network?

To connect two nodes, you can use ...READ MORE

answered Jan 10, 2019 in Blockchain by Omkar
• 69,220 points
2,908 views
0 votes
1 answer
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