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,170 points
46 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 by Omkar
• 67,660 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,350 points
45 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,350 points
29 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
169 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 493 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 9 in Blockchain by Omkar
• 67,660 points
238 views
0 votes
1 answer