[x] Modify "one shard per request" to "multiple shard per request"
[x] Change protobuf message to return map<shardID, []peerID>
A bit ugly due to the extra message declared for []string, because pb supports only primitive types and self-defined messages in map. Reference: https://github.com/google/protobuf/issues/2388
What was wrong?
Fix https://github.com/ethresearch/sharding-p2p-poc/issues/12
How was it fixed?
Done
Response
message in pbutils.go
TODO
map<shardID, []peerID>
[]string
, because pb supports only primitive types and self-defined messages inmap
. Reference: https://github.com/google/protobuf/issues/2388Makefile
to compile allproto
Cute Animal Picture