2

Given a private network in which each computer knows at least one IP address where there is a geth, parity or pyEth node/peer, what is a good way of sharing enode IDs? As far as I know, there is no way to share enodes within the ethereum system?

After this is done, the peers can use admin.addPeer(enode) to create the Ethereum network.

1 Answer 1

2

I'd consider using a distributed key-value store such as ETCD (https://coreos.com/etcd/docs/latest/getting-started-with-etcd.html). You could set up an ETCD alongside ethereum and share arbitrary data between each node.

While this works well for your specific use case, it may be worth it to consider piggybacking on the Bit Torrent DHT -- a publicly available distributed key-value store. This would be especially useful if you were to use a public block chain. There are some interesting projects out there like Peer Tweet (https://github.com/lmatteis/peer-tweet) that are doing this already.

1
  • 2
    etcd is perfect. You can @atomh33is also, quickly install redis too to get that very functionality. Feb 25, 2017 at 22:57

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.