Hi guys I am doing some research on double spending in the bitcoin network several ideas have been confusing me:
In prevention of Race attacks, merchants are advised to "connect to a large random sample nodes in the network".
First of all, What do they mean by this? How is it done?
Secondly, how do attackers initiate the attack? All I know is they make 2 transactions of same reference, one to themselves the other to the merchant who recognizes only the latter and surrenders his goods.
In an article on prevention, it states "We assume that the attacker may connect to an arbitrary number of nodes in the network to broadcast any number of transactions claiming outputs to its possession."
What exactly does this mean?
Thank you guys, I know this question is very condensed but I appreciate any help.
EDIT: Does it mean that I can go out and send X amount of bitcoins to myself and immediately spend the same amount, X on a merchant to defraud him?
Isn't that just too easy?