Hello,

I have been researching about blockchains and stuff and it all seems like a big scam. It’s not sustainable and can be replaced by a simple database.

is there any legitimate use cases of blockchains or it is all just a big scam?

  • JumpyWombat@lemmy.ml
    link
    fedilink
    arrow-up
    94
    arrow-down
    1
    ·
    1 day ago

    Any application where you want to record something publicly without the possibility to alter it and in absence of a central authority.

    A database requires a central authority so it doesn’t cover the same use cases.

    • Pup Biru@aussie.zone
      link
      fedilink
      English
      arrow-up
      3
      ·
      edit-2
      6 hours ago

      i’ll add a concrete example to this… i’ve described a startup i built in another comment but TLDR:

      compliance obligations when protecting kids from sexual predators are difficult to prove: sexual abuse usually comes out 30 years later, so standard record keeping is pretty fraught… companies (like the company monitoring compliance - our startup for example) might not exists any more, paper gets lost, database formats become difficult or impossible to read

      writing signed proof of compliance to the blockchain is a way of ensuring that an organisation was doing what they could at the time… how this is achieved is tricky for anyone but the source of record, but with blockchain it’s possible (described in the post)

    • mormund@feddit.org
      link
      fedilink
      arrow-up
      29
      ·
      1 day ago

      Good summary, a few additions from my side:

      • Being public is not required. E.g. banks could form an internal block chain shared only with other banks.
      • Blockchains are a database. An immutable and usually distributed database.
      • Max-P@lemmy.max-p.me
        link
        fedilink
        arrow-up
        23
        ·
        1 day ago

        Also worth noting that the computations don’t have to be expensive either, it’s only there in cryptocurrencies to artificially limit the number of blocks generated on a public system and tie it into the reward system.

        So for a bank, that could be a plain single iteration of a sha256 hash, and once share everyone agrees those were the transactions and you can’t go back and change one without having to change the whole chain.

        Make it sha1 and you basically have git.

        A blockchain is more or less just an append-only database. Or even an append-only replication log with built-in checksums.

      • msage@programming.dev
        link
        fedilink
        arrow-up
        3
        arrow-down
        1
        ·
        18 hours ago

        I would argue against blockchains being a database… its more of a ‘signed sequential log’ than a database.

        • mormund@feddit.org
          link
          fedilink
          arrow-up
          2
          ·
          17 hours ago

          Well, Wikipedia describes it sufficiently vague: “a database is an organized collection of data”. But is a linked list on its own a database? I’d say the blockchain itself is the data structure but any software using it is most likely a database.

    • chaosCruiser@futurology.today
      link
      fedilink
      English
      arrow-up
      14
      arrow-down
      3
      ·
      1 day ago

      The lack of a trusted central authority is key. If you have at least one authority you can trust just barely enough, the whole idea of a blockchain collapses. There needs to be an urgent trust crisis for this to work.

      • Tar_Alcaran@sh.itjust.works
        link
        fedilink
        arrow-up
        8
        ·
        1 day ago

        Also, if you have no trusted parties, you have a huge “First Owner” problem.

        If we were to set up a blockchain to track the ownership of fluffy hats, what’s to stop me from seeing your fluffy hat, and quickly registering it as mine?

        • chaosCruiser@futurology.today
          link
          fedilink
          English
          arrow-up
          2
          ·
          edit-2
          1 day ago

          That is a good point. If there’s a dispute about the first owner, there’s no clean way to solve it. However, the current owner is clear, so we could just start tracking the history from the current time onwards, and ignore the history that’s shrouded in mystery and controversy.

          • Tar_Alcaran@sh.itjust.works
            link
            fedilink
            arrow-up
            8
            ·
            edit-2
            1 day ago

            That’s not the first-owner problem. I’ll try to explain in more detail. The problem arises when you’re using the blockchain as a “reciept”. You can only ever trace the ownership of the reciept, not the item it represents, without a trusted party.

            • Say we made a blockchain that determines the ownership of all fluffy hats in the world. It starts at june 1st 2026. Lets just assume there’s a trivial way to perfectly describe fluffy hats that we can put in a token. Or hell, pretend it’s super complex, that changes nothing.

            • You bought a fluffy hat in 2002, and made one for yourself in 2008. You own both, wearing one to bed when you go to sleep on may 31st, 2026.

            • At 1 second past midnight, june 1st 2026, I make two tokens, one for each of your hats.

            • I am now officially the first owner of those hats. You are suddenly a thief holding my property, even though it never left your head.

            That’s the first owner problem. Without a trusted source, there is no way to ensure the first owner in a blockchain is actually the owner under the current legal definition (as in, you made the hat from homespun wool, it’s on your head right now). It gets even worse though, because I can even make tokens for nonexistent fluffy hats that haven’t been made. As soon as someone makes it, i’m already the owner.

            The ONLY application for a blockchain with a trustless system is if the entire property is directly on the blockchain, and that doesn’t work.

            • chaosCruiser@futurology.today
              link
              fedilink
              English
              arrow-up
              5
              ·
              edit-2
              1 day ago

              Oh… Well that’s pretty bad. It’s like Wild West at that point. Anyone can make these fraudulent tokens. Someone would need to prove that there exists a connection between the token and the real world item it represents.

              I guess therein lies the problem. These tokens shouldn’t represent physical objects. If you really want them to, you need a certification authority. If you can find one, it means that you actually can trust someone, so you don’t even need to use a blockchain for tracking these things. Why not just use a trusted authority to handle a traditional database.

              So what does that leave us with? What can you do with a blockchain that doesn’t require the tokens to be connected to real world objects?

      • JumpyWombat@lemmy.ml
        link
        fedilink
        arrow-up
        5
        arrow-down
        2
        ·
        1 day ago

        It’s also a problem of ownership. For exchanges between banks, a blockchain is better because no bank would be the owner of the database.

        Plus it’s safer because altering a database is usually trivial while altering a blockchain is virtually impossible.

        • 18107@aussie.zone
          link
          fedilink
          English
          arrow-up
          8
          arrow-down
          1
          ·
          1 day ago

          If you have multiple banks, you can have multiple copies of the same database. If any one bank modifies their copy, it is obvious who modified it and what was changed. No blockchain needed.

          • JumpyWombat@lemmy.ml
            link
            fedilink
            arrow-up
            3
            arrow-down
            2
            ·
            1 day ago

            Everything is possible, but it would be a much more complex solution than running a blockchain that is designed for that use case.

    • Ch3rry314@piefed.social
      link
      fedilink
      English
      arrow-up
      7
      arrow-down
      2
      ·
      1 day ago

      Could this be a true voting record? Votes would be transparent, but as you say, unalterable.

      • JumpyWombat@lemmy.ml
        link
        fedilink
        arrow-up
        33
        arrow-down
        1
        ·
        1 day ago

        If the political vote is public, voters are exposed to blackmail or they may sell their vote. It’s a bad idea unfortunately.

      • Otter@lemmy.ca
        link
        fedilink
        English
        arrow-up
        20
        ·
        edit-2
        1 day ago

        https://xkcd.com/2030/

        I appreciate that when you find a relevant xkcd, the explainxkcd page also has relevant information to the discussion:

        https://www.explainxkcd.com/wiki/index.php?title=2030%3A_Voting_Software

        When the reporter follows the interview up with a mention of blockchain technology, Megan and Cueball reflexively tell the reporter to avoid any voting system using the technology at all costs. Blockchain is a relatively new technology that is intended to solve some computer security issues by making it difficult to doctor old data. However, in the process of solving the old computer security issues, it has introduced new computer security issues that have not yet been ironed out; for instance, it doesn’t solve input fraud issues, only data-doctoring fraud, so if a program caused the voting machine to record a vote for candidate B whenever a vote for candidate A was cast (such a program could be uploaded to the voting machines through USB, or through the internet which the voting machine must be connected to for blockchain), blockchain would not prevent it. Blockchain has also had a large number of high-profile scams, thefts, and implementations with critical security holes. Thus, Megan and Cueball may not trust this blockchain solution because of this history.

        Blockchain is really great at preventing post-facto data changes. With blockchain you can somewhat guarantee that no one comes in after the election and changes the votes on the machines. (Unless they’re handling the blockchain in a stupid fashion, for example without the distribution.) But you cannot prevent tampering with the machines themselves, such as making them record votes that didn’t happen, or tampering the data before it’s written to the blockchain.

        Also, the security issues that Blockchain solves could also be solved via write-once memory, which would be more secure and more difficult to doctor.

        Most computer security specialists are more worried about programs that randomly and/or deliberately misreport a vote, than people changing the votes after they’re already recorded, so blockchain would solve an issue that most computer security specialists are less worried about, while causing new issues (the perpetual internet connection among them).

        • Tar_Alcaran@sh.itjust.works
          link
          fedilink
          arrow-up
          7
          arrow-down
          1
          ·
          1 day ago

          Whereas voting with a piece of paper can be tracked and validated by a severely myopic 6 year old. And you can recount it. You can’t “recount” a blockchain if that’s your only source.

          And if you do both, then why bother with the blockhain?

          • Clent@lemmy.dbzer0.com
            link
            fedilink
            English
            arrow-up
            2
            arrow-down
            2
            ·
            24 hours ago

            You can’t “recount” a blockchain if that’s your only source.

            What are you trying to say here?

            If each vote is a block in the chain them it is definitely recountable.

            If I get a reciept of my vote’s hash in the chain, I can confirm it’s being included.

            The real issue with using a blockchain is it would anonymize the process.

            • Tar_Alcaran@sh.itjust.works
              link
              fedilink
              arrow-up
              6
              ·
              edit-2
              23 hours ago

              If each vote is a block in the chain them it is definitely recountable.

              That’s not what it means. With this system, you can’t independently verify what happened. You can only also look at the blockchain and see that some hash has registered some vote.

              But you don’t know if that is actually true. You can’t see if pushing the red button makes the red vote come out. You can manually count if you want, but the original billet doesn’t exist, only a processed form of it on the blockchain.

              If I get a reciept of my vote’s hash in the chain, I can confirm it’s being included.

              Only THAT it’s included. Otherwise you have something linking you to your vote, which is bad