Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. An interesting blockchain read

An interesting blockchain read

Scheduled Pinned Locked Moved The Lounge
c++comjsonoopquestion
15 Posts 9 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D David ONeil

    This may have been on here earlier, but a quick search did not find it. >Carrying out a payment with Visa requires about 0.002 kilowatt-hours; the same payment with bitcoin uses up 906 kilowatt-hours, more than half a million times as much, and enough to power a two-person household for about three months. The rest of the article seems well-written. source: [Blockchain, the amazing solution for almost nothing - The Correspondent](https://thecorrespondent.com/655/blockchain-the-amazing-solution-for-almost-nothing/86714927310-8f431cae)

    The Science of King David's Court | Object Oriented Programming with C++

    F Offline
    F Offline
    Fabio Franco
    wrote on last edited by
    #5

    See my response below. As if blockchain could only be done that way. Which is not true. That's Blockchain alpha, which is bitcoin and etherum. I see many articles like this that portray a very incomplete picture of blockchain and are usually very biased our misinformed.

    To alcohol! The cause of, and solution to, all of life's problems - Homer Simpson ---- Our heads are round so our thoughts can change direction - Francis Picabia

    1 Reply Last reply
    0
    • L Lost User

      The "distributed" nature of the thing is an illusion; it's a massive duplication of effort.

      It was only in wine that he laid down no limit for himself, but he did not allow himself to be confused by it. ― Confucian Analects: Rules of Confucius about his food

      F Offline
      F Offline
      Fabio Franco
      wrote on last edited by
      #6

      Distributed duplication? Global Distributed database with many read replicas and one random write replica?

      To alcohol! The cause of, and solution to, all of life's problems - Homer Simpson ---- Our heads are round so our thoughts can change direction - Francis Picabia

      1 Reply Last reply
      0
      • F Fabio Franco

        It's because Ethereum and Bitcoin are based on an already legacy consensus algorithm (Proof of Work). Several better alternatives were devised (if you google blockchain consensus algorithms, you gonna find a bunch of them). How proof of work works is basically guessing a number (hash), so whoever guesses first, gets the transaction reward. That guess is then validated by the remaining of the network to "prove" it's validity. Because guessing takes resources (computational power), it's not easy or cheap to fake a transaction and convince the network of it. Because to fake the latest "block", you would need to recalculate all the blocks behind it (that's where block"chain" comes from). Every new block's hash is based in the previous block. So each new block makes it harder to overwrite the network. It's expensive and you sill may not be able to convince the rest of the network, it's not a wise investment. Very likely you will not succeed (otherwise bitcoin and etherum would have been taken over already). Problem comes when the network grows (in nodes and transactions). The network adjusts itself and increases the difficulty of the guess, because more people are trying to guess. Instead of trying to guess a number from 1 to 10, you start needing to guess 1 to 100, then 1 to 1000, so on and so on. And that's when things become wasteful on Proof of Work based blockchain networks. So the problem is that Proof of Work does not scale well, driving the energy costs up. Other consensus algorithms such as the one Ethereum is trying to adopt (Proof of Stake) does not rely on computing power to strengthen itself. The miner instead stakes wealth (for Ethereum, it's Ether). So instead of guessing you need to put your valuable crypto on the block pot instead of spending your valuable energy trying guess how much is in the pot. That is what protects the network from attacks. You need to stake a lot of money on an attack and if you're not successful you're going to lose it all. The challenge of "upgrading" (to be more precise, is to change the algorithm for mining and validation), which Ethereum has been trying to do for years is that you actually need to convince the majority of the network to flip the switch at the same and synchronize it well, otherwise it will fail or interrupt the network. So it's quite challenging to change something in the network once it's widely stablished.

        To alcohol! The cause of, and solut

        R Offline
        R Offline
        raddevus
        wrote on last edited by
        #7

        Very interesting details. Thanks for sharing. :thumbsup:

        1 Reply Last reply
        0
        • D David ONeil

          This may have been on here earlier, but a quick search did not find it. >Carrying out a payment with Visa requires about 0.002 kilowatt-hours; the same payment with bitcoin uses up 906 kilowatt-hours, more than half a million times as much, and enough to power a two-person household for about three months. The rest of the article seems well-written. source: [Blockchain, the amazing solution for almost nothing - The Correspondent](https://thecorrespondent.com/655/blockchain-the-amazing-solution-for-almost-nothing/86714927310-8f431cae)

          The Science of King David's Court | Object Oriented Programming with C++

          T Offline
          T Offline
          trønderen
          wrote on last edited by
          #8

          David O'Neil wrote:

          906 kilowatt-hours, [...] enough to power a two-person household for about three months.

          That is assuming you are either living in a rather warm climate, or you do not use electricity neither for hot water nor room heating. The average Norwegian household uses 16 000 kilowatt-hours a year, 1333 kWh per month on the average. Heat pumps are used everywhere, we switched to LED based light years ago. (Before the heat pump / LED takeover, the average poser consumption was 20 000 kWh/year.) 906 kWh / 3 months is 10 kWh a day. I spend that much even midsummer, on cooler/freezer, hot water, cooking, washing machine, dishwasher and various other electric equipment and tools, and of course a little light for basement/attic or at late night.

          K 1 Reply Last reply
          0
          • D David ONeil

            This may have been on here earlier, but a quick search did not find it. >Carrying out a payment with Visa requires about 0.002 kilowatt-hours; the same payment with bitcoin uses up 906 kilowatt-hours, more than half a million times as much, and enough to power a two-person household for about three months. The rest of the article seems well-written. source: [Blockchain, the amazing solution for almost nothing - The Correspondent](https://thecorrespondent.com/655/blockchain-the-amazing-solution-for-almost-nothing/86714927310-8f431cae)

            The Science of King David's Court | Object Oriented Programming with C++

            B Offline
            B Offline
            BernardIE5317
            wrote on last edited by
            #9

            Thank You An enlightening article Maybe selling the ugly gorilla NFTs mentioned in today's news letter will pay the electric bill By the way here is a suggestion as to how to possibly pay all your electric bills for a very long time Write some AI code which generates thousands of NFTs of ugly gorillas

            1 Reply Last reply
            0
            • T trønderen

              David O'Neil wrote:

              906 kilowatt-hours, [...] enough to power a two-person household for about three months.

              That is assuming you are either living in a rather warm climate, or you do not use electricity neither for hot water nor room heating. The average Norwegian household uses 16 000 kilowatt-hours a year, 1333 kWh per month on the average. Heat pumps are used everywhere, we switched to LED based light years ago. (Before the heat pump / LED takeover, the average poser consumption was 20 000 kWh/year.) 906 kWh / 3 months is 10 kWh a day. I spend that much even midsummer, on cooler/freezer, hot water, cooking, washing machine, dishwasher and various other electric equipment and tools, and of course a little light for basement/attic or at late night.

              K Offline
              K Offline
              Kirk 10389821
              wrote on last edited by
              #10

              My understanding was that there is a building built with BTC Miners at it's core to generate heat for the building in a cold climate. Talk about re-use. Proof of work, for "creating" BTC was an important part of the thesis. Eventually all BTC will be created. Then the only money available will be fees for recording transactions. This will be the opportunity to reduce the energy consumed, but the challenge is keeping the miners to keep the network secure. You saw the drop in BTC, etc over the last few days. I joked that ETH didn't drop as much, because the WHALES (big players/sellers), could not afford the ETH fees! (ETH is so expensive as a network, that it's success is literally killing itself. I am already on 2 other ETH forks to reduce those fees). Bugs have a WHOLE different meaning when the software is protecting a TRILLION DOLLARS of other peoples money! The free market is already responding. But blockchain will survive. Square (now block), and PayPal, and many banks are YEARS into their development efforts. It's the internet era, all over again!

              1 Reply Last reply
              0
              • R raddevus

                Related to energy. I've seen that Solana can do 50,000 transactions/second[^] While Ethereum can only do about 15/second[^] -- they are working on a upgrade to get to some thousands/second. I believe bitcoin is way slower than either of those at about 3 transactions / second[^]. *Links are to wikipdedia where I got these stats.

                Y Offline
                Y Offline
                Yortw
                wrote on last edited by
                #11

                A couple of years ago, against my better judgement, and for no good technical reason, just that the customer insisted on blockchain, we implemented an ethereum based payment system for both an online and in-store retail system. We had some supposed experts from the Ukraine working on the ehtereum/blockchain side and they gave us a json rpc API to communciate with to make our lives easier since we weren't working in javascript and didn't know anything about ehtereum/blockchain really. When we eventually got the initial system working it took almost 15 minutes for a block to be confirmed, and a payment to therefore be considered complete (or at least recorded in a way that was good enough to avoid potential fraud/theft/accidental transaction loss etc). Imagine buying something in a store and having to wait 15 minutes for your payment to go through. Needless to say that didn't work. I'm not 100% sure what the blockchain team did to solve this, but I think they put some sort of persisted cache in front of the blockchain with some retries back into ethereum if the initial block didn't commit or something. So basically papering over the the cracks in an unnecessary system. I still can't stop myself shaking my head when I think about it.

                R 1 Reply Last reply
                0
                • Y Yortw

                  A couple of years ago, against my better judgement, and for no good technical reason, just that the customer insisted on blockchain, we implemented an ethereum based payment system for both an online and in-store retail system. We had some supposed experts from the Ukraine working on the ehtereum/blockchain side and they gave us a json rpc API to communciate with to make our lives easier since we weren't working in javascript and didn't know anything about ehtereum/blockchain really. When we eventually got the initial system working it took almost 15 minutes for a block to be confirmed, and a payment to therefore be considered complete (or at least recorded in a way that was good enough to avoid potential fraud/theft/accidental transaction loss etc). Imagine buying something in a store and having to wait 15 minutes for your payment to go through. Needless to say that didn't work. I'm not 100% sure what the blockchain team did to solve this, but I think they put some sort of persisted cache in front of the blockchain with some retries back into ethereum if the initial block didn't commit or something. So basically papering over the the cracks in an unnecessary system. I still can't stop myself shaking my head when I think about it.

                  R Offline
                  R Offline
                  raddevus
                  wrote on last edited by
                  #12

                  Great story & that really is a head-shaker. The point of this entire thing is: instantaneous, verifiable transactions. But I'm probably just wrong. :rolleyes:

                  1 Reply Last reply
                  0
                  • D David ONeil

                    This may have been on here earlier, but a quick search did not find it. >Carrying out a payment with Visa requires about 0.002 kilowatt-hours; the same payment with bitcoin uses up 906 kilowatt-hours, more than half a million times as much, and enough to power a two-person household for about three months. The rest of the article seems well-written. source: [Blockchain, the amazing solution for almost nothing - The Correspondent](https://thecorrespondent.com/655/blockchain-the-amazing-solution-for-almost-nothing/86714927310-8f431cae)

                    The Science of King David's Court | Object Oriented Programming with C++

                    M Offline
                    M Offline
                    mngerhold
                    wrote on last edited by
                    #13

                    As you say, the rest of the article seems well-written, but that figure of 906 kWh per transaction must be nonsense: the figure is not substantiated, and is probably referring to the cost of mining a block of transactions (~3,000 as of 2019).

                    D 1 Reply Last reply
                    0
                    • M mngerhold

                      As you say, the rest of the article seems well-written, but that figure of 906 kWh per transaction must be nonsense: the figure is not substantiated, and is probably referring to the cost of mining a block of transactions (~3,000 as of 2019).

                      D Offline
                      D Offline
                      David ONeil
                      wrote on last edited by
                      #14

                      It doesn't seem to be that far off other sources: [Which cryptocurrency is the most environmentally friendly?](https://www.trgdatacenters.com/most-environment-friendly-cryptocurrencies/) (although it does seem to be a little higher, maybe because of the additional difficulty of the puzzles since those figures were correlated?).

                      The Science of King David's Court | Object Oriented Programming with C++

                      M 1 Reply Last reply
                      0
                      • D David ONeil

                        It doesn't seem to be that far off other sources: [Which cryptocurrency is the most environmentally friendly?](https://www.trgdatacenters.com/most-environment-friendly-cryptocurrencies/) (although it does seem to be a little higher, maybe because of the additional difficulty of the puzzles since those figures were correlated?).

                        The Science of King David's Court | Object Oriented Programming with C++

                        M Offline
                        M Offline
                        mngerhold
                        wrote on last edited by
                        #15

                        I'll take back what I wrote! I was thinking of the cost to the transactee, not the cost to the world: currently $179, see Bitcoin Average Cost Per Transaction[^] One word: absurd.

                        1 Reply Last reply
                        0
                        Reply
                        • Reply as topic
                        Log in to reply
                        • Oldest to Newest
                        • Newest to Oldest
                        • Most Votes


                        • Login

                        • Don't have an account? Register

                        • Login or register to search.
                        • First post
                          Last post
                        0
                        • Categories
                        • Recent
                        • Tags
                        • Popular
                        • World
                        • Users
                        • Groups