Here are some corrections:
- Blockchain has nothing to do with P2P.
Blockchains are federated ledgers that can’t be changed later, unless the majority of federated servers decides to. P2P means that two devices communicate without a server in the middle. Maybe you meant federated?
-
Blockchains can absolutely be hacked. You can gain majority control over the servers, in which case you can rewrite the blockchain as you want. Alternatively you can gain access to accounts/wallets by hacking the software that users store them in or by social-engineering people to give you their keys.
-
If proper end-to-end encryption is used, there is little security difference between server-based and P2P communication, but it’s much more inconvenient: You cannot save sent messages on the server for later retrieval, so if you’re trying to reach someone who’s currently offline, your device has to wait until they’re back before sending the message. Also if you use multiple devices, keeping them in sync is very complicated, because they have to be online at the same time.
vrighter@discuss.tchncs.de 1 year ago
do you have the full blockchain on your phone? no?
Do you host the full blockchain on a server at home and access that through your phone? no?
Then you’re consuming someone’s private api. They can send you whatever and you will trust it, because you don’t verify anything they return.
iopq@lemmy.world 1 year ago
If you connect to the internet through an ISP you can’t trust that either. That’s why we have encryption, you can only block the whole message from appearing completely, you can’t change its contents
vrighter@discuss.tchncs.de 1 year ago
using encryption in this case protects you from the isp messing with your communication to the api provider. The api can still lie to you and encrypt the lie.