The transaction is confirmed with the community nodes. This process is called mining. If you want to know more details on mining it is possible to have a look at our write-up on how Bitcoin is mined.A completely new and smaller chain is likely to be at risk of this kind of attack, even so the attacker would want no less than 50 percent with the com