* uses Mutex instead of RwLock for ping_cache (cherry picked from commit2231017b35
) * validates gossip addresses before sending pull-requests IP addresses need to be validated before sending packets to them. This commit, sends a ping packet to nodes before any pull requests. Pull requests are then only sent to the nodes which have responded with the correct hash of their respective ping packet. (cherry picked from commit7cea2c4466
) Co-authored-by: behzad nouri <behzadnouri@gmail.com>