Closed mhchia closed 5 years ago
Lack of commands to ask for peer status and connections, and commands to synchronize shardPeers and collations with peers.
shardPeers
collations
Added
GetConnection() returns connections
GetPeer(topic string) returns peerIDs
SyncShardPeer(rpcAddr string, peerID peer.ID, shardIDs []ShardIDType) returns shardPeers
SyncCollation(peerID peer.ID, shardID ShardIDType, period int, collationHash string) returns collation
connectionStr
(remote_ip, remote_port, transport_type, local_ip, local_port)
obsolete, but should be done in another PR
What was wrong?
Lack of commands to ask for peer status and connections, and commands to synchronize
shardPeers
andcollations
with peers.How was it fixed?
Added
GetConnection() returns connections
GetPeer(topic string) returns peerIDs
SyncShardPeer(rpcAddr string, peerID peer.ID, shardIDs []ShardIDType) returns shardPeers
SyncCollation(peerID peer.ID, shardID ShardIDType, period int, collationHash string) returns collation
TODO
connectionStr
to(remote_ip, remote_port, transport_type, local_ip, local_port)
Cute Animal Picture