tari
tari copied to clipboard
Need defence-in-depth when streaming new peers
This is more defence-in-depth than anything else, closing a potential attack vector. I will remove it, but we should actually ban the peer for offences in UnvalidatedPeerInfo::from_peer_limited_claims
as well as providing invalid signatures. What is your opinion?
Originally posted by @hansieodendaal in https://github.com/tari-project/tari/pull/6284#discussion_r1572214277