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 in Blockchain by slayer
• 29,040 points
18 views

1 answer to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
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 by Omkar
• 65,850 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 16, 2018 in Blockchain by Shashank
• 10,330 points
22 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 13, 2018 in Blockchain by Shashank
• 10,330 points
13 views
0 votes
1 answer
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
65 views
0 votes
1 answer
0 votes
0 answers

Error: Unexpected token o in JSON at position 1

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

Mar 6 in Blockchain by saeedi
• 120 points

edited Mar 6 by Omkar 116 views
0 votes
1 answer

How to connect two different nodes in private ethereum network?

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

answered Jan 9 in Blockchain by Omkar
• 65,850 points
59 views
0 votes
1 answer

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.