• Serinus@lemmy.world
      link
      fedilink
      arrow-up
      24
      ·
      10 days ago

      Blockchain is effectively a distributed database. Almost always a good centralized database functions better.

    • simplymath@lemmy.world
      link
      fedilink
      arrow-up
      3
      arrow-down
      10
      ·
      edit-2
      10 days ago

      Nah. the commenter above is just wrong. It’s just that anyone who isn’t selling bullshit uses their real name- Merkel trees - which are fundamental to modern software development (git, zfs, nix, nosql).

      • ryathal@sh.itjust.works
        link
        fedilink
        arrow-up
        11
        ·
        10 days ago

        That’s a similar but different concept. Blockchain adds a way to determine consensus of the correct tree. While git is distributed, it’s generally not trustless, there’s generally a trusted version of the repository.

        • simplymath@lemmy.world
          link
          fedilink
          arrow-up
          2
          arrow-down
          7
          ·
          edit-2
          10 days ago

          what? Git is very much distributed and while you can have a main branch, you can set as many up streams as you want and merge things sideways.

          It’s trust less in the sense that commits can’t be easily forged and are signed with cryptographic keys and identities-- as in, I don’t have to trust that the source code is genuine since I can verify the commit history myself.

          Consensus is just a pull request.

          That wiki article literally lists Bitcoin and Ethereum as implementations of Merkel trees.

          • I Cast Fist@programming.dev
            link
            fedilink
            arrow-up
            3
            ·
            10 days ago

            It’s trust less in the sense that commits can’t be easily forged and are signed with cryptographic keys and identities.

            I’m pretty sure being able to verify that the person responsible for a push is an actual maintainer is the opposite of trustless.

            • simplymath@lemmy.world
              link
              fedilink
              arrow-up
              2
              ·
              edit-2
              10 days ago

              How is it any different than verifying that a transaction occurred?

              How is a trusted repository different from a hard fork?

              Isn’t “proving someone is a maintainer” just an IRL proof of stake?

              • I Cast Fist@programming.dev
                link
                fedilink
                arrow-up
                3
                ·
                10 days ago

                How is it any different than verifying that a transaction occurred?

                With a centralized trust source (bank), you ask for the records.

                How is a trusted repository different from a hard fork?

                Because you check who owns and maintains it. A notable example was with Simple Apps for Android, earlier this year the main repo was sold to a company. Trust was lost, thus a fork was created to keep the original stuff.

                • simplymath@lemmy.world
                  link
                  fedilink
                  arrow-up
                  2
                  ·
                  10 days ago

                  Right, but isn’t the “main chain” of Ethereum based on a similar principle wherein it’s the main chain because it’s the one the devs use?

                  What about BTC vs BTC lightning.

                  I’m genuinely failing to see a distinction here, and, again, the wiki article says that blockchains are special cases of Merkle trees.

                  • I Cast Fist@programming.dev
                    link
                    fedilink
                    arrow-up
                    2
                    ·
                    10 days ago

                    Right, but isn’t the “main chain” of Ethereum based on a similar principle wherein it’s the main chain because it’s the one the devs use?

                    No clue, I don’t keep an eye on that, I’m partially aware that there are several similar forks (and eth classic was a result of scammy shenanigans) but, afaict, none try to pretend they’re the “real” ethereum.

                    I’m genuinely failing to see a distinction here

                    A distinction between trust and trustless? Because my initial point was that git isn’t trustless, because it works just like any other online system that requires a login, where a central server/database checks if the user sending inputs was properly identified by some mean (password, cryptographic key, something else). Implementing a Merkle or any other hash tree doesn’t make something trustless