ethresearch / sharding-p2p-poc

Proof of Concept of Ethereum Serenity Peer-to-Peer Layer on libp2p PubSub System
40 stars 19 forks source link

Issue #10: added methods needed to implement listshardpeer #104

Closed jrhea closed 6 years ago

jrhea commented 6 years ago

Added a listshardpeer method for ease of use:

$ ./sharding-p2p-poc -port=10000 -rpcport=13000 -client listshardpeer 2 3 
{"2":[PEER_1,PEER_2],"3":[PEER_2,PEER_3]}

put a cute animal picture link inside the parentheses