I was reading few write-ups and answers on stackexchange and this
forum thread where a hacker claimed to launch a tool that'll be able to disclose both the sender and receiver of a bitcoin transaction. Which is one of the reasons people Torify their bitcoin node, not because of the thread alone. But, to enhance privacy and maintain pure anonymity. Along the line the disadvantages of running nodes on Tor include Eclipse attack, which according to this source:
Bitcoin over Tor isn't a good idea it would take about $2500 monthly to take control of the Tor network and be able to launch an attack on Bitcoin nodes connected to Tor. Like controlling which block and transaction are relayed to the user, and also discard or delay user's transaction and block. Hence, to avoid such attack like said in bitcoin wiki, we'll have to addnotes connection to trusted peers. How does it happen?, this is where I got confused.
How the connection with trusted peers boost the security of the node against Eclipse attack? I didn't get to see any writeup on that. If anyone can help on this, it'll be greatly appreciated. Thanks.
. By running 6
such relays the attacker can achieve 400K of bandwidth weight
in total for the price below 2500 USD (2160 USD for the traffic
and 240 for renting fast servers