Each modify for the ledger is cryptographically signed to verify that the individual transferring bitcoins is the actual owner. No one can invest coins twice mainly because when a transaction is recorded from the ledger, every node inside the network will find out about it. Namecoin tries to resolve this https://runespepe97640.blogpostie.com/50974290/the-single-best-strategy-to-use-for-digital-currency-exchange