NotFoundHandle handles the not found message from peer
(data *msgTypes.MsgPayload, p2p p2p.P2P, pid *evtActor.PID, args ...interface{})
| 218 | |
| 219 | // NotFoundHandle handles the not found message from peer |
| 220 | func NotFoundHandle(data *msgTypes.MsgPayload, p2p p2p.P2P, pid *evtActor.PID, args ...interface{}) { |
| 221 | var notFound = data.Payload.(*msgTypes.NotFound) |
| 222 | log.Debug("[p2p]receive notFound message, hash is ", notFound.Hash) |
| 223 | } |
| 224 | |
| 225 | // TransactionHandle handles the transaction message from peer |
| 226 | func TransactionHandle(data *msgTypes.MsgPayload, p2p p2p.P2P, pid *evtActor.PID, args ...interface{}) { |