Every single alter on the ledger is cryptographically signed to demonstrate that the individual transferring bitcoins is the particular owner. No one can commit cash 2 times since when a transaction is recorded during the ledger, each node inside the network will understand about it. Namecoin tries to resolve this https://rowanlxdgm.blogprodesign.com/50692203/article-under-review