we implemented send p2p message method in nebulas.
SendMsg(name string, msg []byte, target string)
but we are supposed to give a retry strategy when send message failed. when we download the block from a node, we hope the sooner the better. in this case, we hope to try again when we fail.
so we should add retry strategy in nebulas p2p network.
The retry algorithm is about Connection Reconnecting and Message Resending.
Let's close this issue and submit new issue to discuss Reconnecting strategy and Message resending.
we implemented send p2p message method in nebulas.
but we are supposed to give a retry strategy when send message failed. when we download the block from a node, we hope the sooner the better. in this case, we hope to try again when we fail. so we should add retry strategy in nebulas p2p network.