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

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.

  • 2
    etcd is perfect. You can @atomh33is also, quickly install redis too to get that very functionality. – Herman Junge Feb 25 '17 at 22:57

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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