Is verification of a blockchain computationally cheaper than recreating it?What exactly is Mining?What is the Merkle root?can I use elements of the blockchain to protect the integrity of a leaderboard without central servers?How scalable is a Blockchain-based system?Exchange Transaction versus Blockchain VerificationHow Blockchain transaction verification takes place?Can a Blockchain be Built Like This?How do you get Sibling Hashed Values in a Merkle Proof?Blockchain and anonymous data inside the chainHow and why we need to validate a transaction?Why do we need to chain the blocks (creating blockchain) in a permissioned blockchain?

Need help identifying how to open this bolt/screw

Export economy of Mars

Being told my "network" isn't PCI Complaint. I don't even have a server! Do I have to comply?

In Haskell, when using the XStrict language extension, is if short-circuiting?

Is Norway in the Single Market?

Why are sugars in whole fruits not digested the same way sugars in juice are?

Reasons for using monsters as bioweapons

How to power down external drive safely

Why are Star Wars Rebel Alliance ships named after letters from the Latin alphabet?

Ernie and the Superconducting Boxes

How do I respond appropriately to an overseas company that obtained a visa for me without hiring me?

Skipping same old introductions

Transistor design with beta variation

How do I solve such questions on paramagnetism and ferromagnetism?

HackerRank Implement Queue using two stacks Solution

What do the screens say after you are set free?

How do you say 3 ↑↑↑ 3?

Why interlaced CRT scanning wasn't done back and forth?

Deploy custom Lightning App Home Page assignment using SalesforceDX

Does the use of a new concept require a prior definition?

Can it be useful for a player block with a hanging piece in a back rank mate situation?

Why do we need a voltage divider when we get the same voltage at the output as the input?

Map vs. Table for index-specific operations on 2D arrays

UX writing: When to use "we"?



Is verification of a blockchain computationally cheaper than recreating it?


What exactly is Mining?What is the Merkle root?can I use elements of the blockchain to protect the integrity of a leaderboard without central servers?How scalable is a Blockchain-based system?Exchange Transaction versus Blockchain VerificationHow Blockchain transaction verification takes place?Can a Blockchain be Built Like This?How do you get Sibling Hashed Values in a Merkle Proof?Blockchain and anonymous data inside the chainHow and why we need to validate a transaction?Why do we need to chain the blocks (creating blockchain) in a permissioned blockchain?






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








1















One of the advantages of cryptocurrencies like Bitcoin that is often repeated is how hard it should be to manipulate past transactions. The reason that is often stated is that you would have to re-calculate all the headers with all the hash values of the whole chain which is practically un-doable.



My question is: How do you verify the blockchain integrity? Don't you also have to recalculate all the values to see whether they are valid? Or is the complexity class of verification different from creating a new chain? In other words is there some asymmetry at work here and if yes how does it work?










share|improve this question









New contributor



vonjd is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.



























    1















    One of the advantages of cryptocurrencies like Bitcoin that is often repeated is how hard it should be to manipulate past transactions. The reason that is often stated is that you would have to re-calculate all the headers with all the hash values of the whole chain which is practically un-doable.



    My question is: How do you verify the blockchain integrity? Don't you also have to recalculate all the values to see whether they are valid? Or is the complexity class of verification different from creating a new chain? In other words is there some asymmetry at work here and if yes how does it work?










    share|improve this question









    New contributor



    vonjd is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.























      1












      1








      1


      1






      One of the advantages of cryptocurrencies like Bitcoin that is often repeated is how hard it should be to manipulate past transactions. The reason that is often stated is that you would have to re-calculate all the headers with all the hash values of the whole chain which is practically un-doable.



      My question is: How do you verify the blockchain integrity? Don't you also have to recalculate all the values to see whether they are valid? Or is the complexity class of verification different from creating a new chain? In other words is there some asymmetry at work here and if yes how does it work?










      share|improve this question









      New contributor



      vonjd is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      One of the advantages of cryptocurrencies like Bitcoin that is often repeated is how hard it should be to manipulate past transactions. The reason that is often stated is that you would have to re-calculate all the headers with all the hash values of the whole chain which is practically un-doable.



      My question is: How do you verify the blockchain integrity? Don't you also have to recalculate all the values to see whether they are valid? Or is the complexity class of verification different from creating a new chain? In other words is there some asymmetry at work here and if yes how does it work?







      blockchain hash transaction-verification algorithms theory






      share|improve this question









      New contributor



      vonjd is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.










      share|improve this question









      New contributor



      vonjd is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.








      share|improve this question




      share|improve this question








      edited 6 hours ago







      vonjd













      New contributor



      vonjd is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.








      asked 8 hours ago









      vonjdvonjd

      1085 bronze badges




      1085 bronze badges




      New contributor



      vonjd is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.




      New contributor




      vonjd is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.

























          2 Answers
          2






          active

          oldest

          votes


















          3















          Is verification of blockchain computationally cheaper than recreating it?




          Yes, far easier




          How do you verify the blockchain integrity? Don't you also have to recalculate all the values to see whether they are valid?




          No.



          The miner has to find a value for parts of the block they can choose a value for, such that a hash of the block has a certain number of leading zeroes. This is impossible to predict without actually calculating the hash. So miners have to try a very large number of different choices before finding one that produces the hash with the required number of leading zeroes.



          The verifier only has to recalculate that hash once because they don't need to vary any part of the block.



          (note, the above is a simplification but the principles apply)




          Reference:



          • Nonce

          • What exactly is Mining?





          share|improve this answer


































            3















            The reason that is often stated is that you would have to re-calculate all the headers with all the hash values of the whole chain which is practically un-doable.




            It's not the mere recalculation of new headers: miners currently create about 8×10^19 block candidates every second. However, at current difficulty levels, it takes about 4.8×10^22 block candidates until a valid block is found. E.g. to change the history five blocks back, you have to find six blocks (approximately 2.9×10^23 block candidates) before the whole network together finds one more block.






            share|improve this answer



























              Your Answer








              StackExchange.ready(function()
              var channelOptions =
              tags: "".split(" "),
              id: "308"
              ;
              initTagRenderer("".split(" "), "".split(" "), channelOptions);

              StackExchange.using("externalEditor", function()
              // Have to fire editor after snippets, if snippets enabled
              if (StackExchange.settings.snippets.snippetsEnabled)
              StackExchange.using("snippets", function()
              createEditor();
              );

              else
              createEditor();

              );

              function createEditor()
              StackExchange.prepareEditor(
              heartbeatType: 'answer',
              autoActivateHeartbeat: false,
              convertImagesToLinks: false,
              noModals: true,
              showLowRepImageUploadWarning: true,
              reputationToPostImages: null,
              bindNavPrevention: true,
              postfix: "",
              imageUploader:
              brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
              contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
              allowUrls: true
              ,
              noCode: true, onDemand: true,
              discardSelector: ".discard-answer"
              ,immediatelyShowMarkdownHelp:true
              );



              );






              vonjd is a new contributor. Be nice, and check out our Code of Conduct.









              draft saved

              draft discarded


















              StackExchange.ready(
              function ()
              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fbitcoin.stackexchange.com%2fquestions%2f89573%2fis-verification-of-a-blockchain-computationally-cheaper-than-recreating-it%23new-answer', 'question_page');

              );

              Post as a guest















              Required, but never shown

























              2 Answers
              2






              active

              oldest

              votes








              2 Answers
              2






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes









              3















              Is verification of blockchain computationally cheaper than recreating it?




              Yes, far easier




              How do you verify the blockchain integrity? Don't you also have to recalculate all the values to see whether they are valid?




              No.



              The miner has to find a value for parts of the block they can choose a value for, such that a hash of the block has a certain number of leading zeroes. This is impossible to predict without actually calculating the hash. So miners have to try a very large number of different choices before finding one that produces the hash with the required number of leading zeroes.



              The verifier only has to recalculate that hash once because they don't need to vary any part of the block.



              (note, the above is a simplification but the principles apply)




              Reference:



              • Nonce

              • What exactly is Mining?





              share|improve this answer































                3















                Is verification of blockchain computationally cheaper than recreating it?




                Yes, far easier




                How do you verify the blockchain integrity? Don't you also have to recalculate all the values to see whether they are valid?




                No.



                The miner has to find a value for parts of the block they can choose a value for, such that a hash of the block has a certain number of leading zeroes. This is impossible to predict without actually calculating the hash. So miners have to try a very large number of different choices before finding one that produces the hash with the required number of leading zeroes.



                The verifier only has to recalculate that hash once because they don't need to vary any part of the block.



                (note, the above is a simplification but the principles apply)




                Reference:



                • Nonce

                • What exactly is Mining?





                share|improve this answer





























                  3












                  3








                  3








                  Is verification of blockchain computationally cheaper than recreating it?




                  Yes, far easier




                  How do you verify the blockchain integrity? Don't you also have to recalculate all the values to see whether they are valid?




                  No.



                  The miner has to find a value for parts of the block they can choose a value for, such that a hash of the block has a certain number of leading zeroes. This is impossible to predict without actually calculating the hash. So miners have to try a very large number of different choices before finding one that produces the hash with the required number of leading zeroes.



                  The verifier only has to recalculate that hash once because they don't need to vary any part of the block.



                  (note, the above is a simplification but the principles apply)




                  Reference:



                  • Nonce

                  • What exactly is Mining?





                  share|improve this answer
















                  Is verification of blockchain computationally cheaper than recreating it?




                  Yes, far easier




                  How do you verify the blockchain integrity? Don't you also have to recalculate all the values to see whether they are valid?




                  No.



                  The miner has to find a value for parts of the block they can choose a value for, such that a hash of the block has a certain number of leading zeroes. This is impossible to predict without actually calculating the hash. So miners have to try a very large number of different choices before finding one that produces the hash with the required number of leading zeroes.



                  The verifier only has to recalculate that hash once because they don't need to vary any part of the block.



                  (note, the above is a simplification but the principles apply)




                  Reference:



                  • Nonce

                  • What exactly is Mining?






                  share|improve this answer














                  share|improve this answer



                  share|improve this answer








                  edited 8 hours ago

























                  answered 8 hours ago









                  RedGrittyBrickRedGrittyBrick

                  3,6081 gold badge10 silver badges22 bronze badges




                  3,6081 gold badge10 silver badges22 bronze badges


























                      3















                      The reason that is often stated is that you would have to re-calculate all the headers with all the hash values of the whole chain which is practically un-doable.




                      It's not the mere recalculation of new headers: miners currently create about 8×10^19 block candidates every second. However, at current difficulty levels, it takes about 4.8×10^22 block candidates until a valid block is found. E.g. to change the history five blocks back, you have to find six blocks (approximately 2.9×10^23 block candidates) before the whole network together finds one more block.






                      share|improve this answer





























                        3















                        The reason that is often stated is that you would have to re-calculate all the headers with all the hash values of the whole chain which is practically un-doable.




                        It's not the mere recalculation of new headers: miners currently create about 8×10^19 block candidates every second. However, at current difficulty levels, it takes about 4.8×10^22 block candidates until a valid block is found. E.g. to change the history five blocks back, you have to find six blocks (approximately 2.9×10^23 block candidates) before the whole network together finds one more block.






                        share|improve this answer



























                          3












                          3








                          3








                          The reason that is often stated is that you would have to re-calculate all the headers with all the hash values of the whole chain which is practically un-doable.




                          It's not the mere recalculation of new headers: miners currently create about 8×10^19 block candidates every second. However, at current difficulty levels, it takes about 4.8×10^22 block candidates until a valid block is found. E.g. to change the history five blocks back, you have to find six blocks (approximately 2.9×10^23 block candidates) before the whole network together finds one more block.






                          share|improve this answer














                          The reason that is often stated is that you would have to re-calculate all the headers with all the hash values of the whole chain which is practically un-doable.




                          It's not the mere recalculation of new headers: miners currently create about 8×10^19 block candidates every second. However, at current difficulty levels, it takes about 4.8×10^22 block candidates until a valid block is found. E.g. to change the history five blocks back, you have to find six blocks (approximately 2.9×10^23 block candidates) before the whole network together finds one more block.







                          share|improve this answer












                          share|improve this answer



                          share|improve this answer










                          answered 8 hours ago









                          MurchMurch

                          35.9k27 gold badges119 silver badges350 bronze badges




                          35.9k27 gold badges119 silver badges350 bronze badges























                              vonjd is a new contributor. Be nice, and check out our Code of Conduct.









                              draft saved

                              draft discarded


















                              vonjd is a new contributor. Be nice, and check out our Code of Conduct.












                              vonjd is a new contributor. Be nice, and check out our Code of Conduct.











                              vonjd is a new contributor. Be nice, and check out our Code of Conduct.














                              Thanks for contributing an answer to Bitcoin Stack Exchange!


                              • Please be sure to answer the question. Provide details and share your research!

                              But avoid


                              • Asking for help, clarification, or responding to other answers.

                              • Making statements based on opinion; back them up with references or personal experience.

                              To learn more, see our tips on writing great answers.




                              draft saved


                              draft discarded














                              StackExchange.ready(
                              function ()
                              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fbitcoin.stackexchange.com%2fquestions%2f89573%2fis-verification-of-a-blockchain-computationally-cheaper-than-recreating-it%23new-answer', 'question_page');

                              );

                              Post as a guest















                              Required, but never shown





















































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown

































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown







                              Popular posts from this blog

                              The fall designs the understood secretary. Looking glass Science Shock Discovery Hot Everybody Loves Raymond Smile 곳 서비스 성실하다 Defas Kaloolon Definition: To combine or impregnate with sulphur or any of its compounds as to sulphurize caoutchouc in vulcanizing Flame colored Reason Useful Thin Help 갖다 유명하다 낙엽 장례식 Country Iron Definition: A fencer a gladiator one who exhibits his skill in the use of the sword Definition: The American black throated bunting Spiza Americana Nostalgic Needy Method to my madness 시키다 평가되다 전부 소설가 우아하다 Argument Tin Feeling Representative Gym Music Gaur Chicken 일쑤 코치 편 학생증 The harbor values the sugar. Vasagle Yammoe Enstatite Definition: Capable of being limited Road Neighborly Five Refer Built Kangaroo 비비다 Degree Release Bargain Horse 하루 형님 유교 석 동부 괴롭히다 경제력

                              Sahara Skak | Bilen | Luke uk diar | NawigatsjuunCommonskategorii: SaharaWikivoyage raisfeerer: Sahara26° N, 13° O

                              19. јануар Садржај Догађаји Рођења Смрти Празници и дани сећања Види још Референце Мени за навигацијуу