Mining Bitcoin: Solving the Puzzle

Поділитися
Вставка
  • Опубліковано 29 жов 2024

КОМЕНТАРІ • 59

  • @EmpireBuilding
    @EmpireBuilding 2 роки тому +8

    This explanation was sooo much better than "They solve complex problems." I learned something new about Bitcoin today. Thank you.

  • @ricsike7842
    @ricsike7842 2 роки тому +5

    So how and why is this keep on being explained as "solving a puzzle"??!! It's not, it's simply what he described here. Seems very few actually know this part, so each person just repeats what they've heard from another..."solving a puzzle". In a wider topic already so complex to fully understand, yet so many interested in studying it, why is this small aspect of hashing being isolated like this and explained like the audience are babies that won't be able to grasp this simple construct!! Finally, thanks for the clear and "honest" explanation! (And here I was thinking we've got 1000s of miners trying to solve massive Rubik's cubes or something lol)

  • @DiscoverCrypto1
    @DiscoverCrypto1 2 роки тому +6

    There's so much knowledge that Andreas offers. EVERYONE who cares about financial freedom needs to watch his videos.

  • @dannywayne311
    @dannywayne311 2 роки тому +4

    The hero we don’t deserve, thank you good sir

  • @onlymoney526
    @onlymoney526 2 роки тому +12

    Perfectly explained thank you!

  • @davearthur8656
    @davearthur8656 2 роки тому +2

    Thanks for the technical breakdown.....you the best at it.

  • @aromax504
    @aromax504 2 роки тому +3

    We have to protect this man at all cost

  • @christianleetrager4605
    @christianleetrager4605 2 роки тому +1

    Finally someone has explained it! Thanks!

  • @ricardosoares2706
    @ricardosoares2706 2 роки тому +1

    Thanks for explanations again!

  • @НовыйШекель
    @НовыйШекель 2 роки тому +2

    Andreas, how do you count the number of full nodes in Bitcoin? I'm wondering how many full nodes does Dash have? Information is only available on Dash masternodes, but there are many volunteer running full Dash nodes like in Bitcoin

  • @majiddehbi9186
    @majiddehbi9186 2 роки тому +2

    hello , sir thanks for u expl but what about byzantine generals problem here in the hashing algo thx anyway

  • @Happytruth
    @Happytruth 2 роки тому +1

    If the SHA number can be more difficult to find from time to time how then do blocks on the Ledger guarantee they’ll be solved every 10 mins give or take? What happens if they can’t find the number needed to verify the block with the 10 minute time?
    BTW stellar knowledge and one of the best people in this space period thanks Andreas.

    • @SAL-fs1mr
      @SAL-fs1mr 2 роки тому +3

      If, over a period of about 2000 blocks, the average time between blocks is greater than 10 minutes, then the Bitcoin difficulty adjustment algorithm kicks in to make the mining easier to target an average of 10 minutes per block.

  • @vt3330
    @vt3330 2 роки тому +5

    Well explained 👏

  • @pomme4moi
    @pomme4moi 2 місяці тому

    What is the incentive for non-mining nodes to do the tasks they do?

  • @leslieschamberg
    @leslieschamberg 2 роки тому +1

    Brilliant as always. 🤩

  • @jabibgalt5551
    @jabibgalt5551 2 роки тому +2

    Thank you!

  • @mentalist417
    @mentalist417 Рік тому

    How do we know which hash is suitable for the solution? the one which has more zeroes in the beginning? If yes, what is the reason for that?

  • @Reizermo
    @Reizermo 6 місяців тому

    The more I hear about how complicated Bitcoin is, the more I think....there's no way one person created it. It seems so complicated and smart.

  • @EmaMazzi76
    @EmaMazzi76 2 роки тому +2

    …there’s an aspect that keeps baffling my mind (even if I followed your lessons and read your book): all the header’s data are fixed except for 1. the nonce and 2. the time stamp; if we both start mining at the same time (say 8 pm - 20.00 and zero seconds) then the one of us with more computing power will likely be the first to find the required nonce…but if one of us add extra time (say 1 second - 20.00.01) then the whole hash would be different as the nonces to produce the leading zeros required…if the average time (roughly 10 minutes) to find the nonce is encoded in the protocol and it’s auto-adjusted according to the speed of network, do miners explore all the possibilities of the next 10 minutes (plus the seconds) all at once? It would be great if you could make a video targeting and expanding this specific topic in depth. Thank you for the knowledge you have shared, no one else has done so much as you, both technically and conceptually

    • @DerekF-u7e
      @DerekF-u7e 2 роки тому

      Miners "pick" a timestamp automatically and start mining so long as it's within the constraints of the protocol (a valid timestamp must be greater than the median timestamp of the previous 11 blocks.). The actual value of the specific timestamp is largely irrelevant as the difficulty already takes all of the components into account and, as you say, the generated hashes will be completely different with even a single bit changed. The likelihood of "winning" is the same for any given timestamp.

    • @EmaMazzi76
      @EmaMazzi76 2 роки тому

      @@DerekF-u7e Thank you for your reply Adam, have a great day 👍

  • @daviddibacco5770
    @daviddibacco5770 2 роки тому +1

    thanks for explaining! is any of this done manually? or is it simply just a matter for plugging in and running the software?

    • @DerekF-u7e
      @DerekF-u7e 2 роки тому +1

      It's done automatically using mining software but is technically possible to do on pen and paper as it's "just" math, although it would be so slow that the likelihood you could find the correct hash before somebody else is essentially 0.

  • @jonathanlivingston7358
    @jonathanlivingston7358 Рік тому

    Amazing explanation

  • @marty590
    @marty590 2 роки тому +1

    Mr. A
    How does a Trezor generate a random private key? In my experience as a programmer you would use a random number generator based on a seed but how does a Trezor do it?
    Also, although highly unlikely, what happens if the private key generated is not unique so that the public key wallet contains someone elses btc?
    Thks.

    • @howboutno2776
      @howboutno2776 2 роки тому +1

      In simple terms, Trezor generates 256bit number (number starting with 10 and 77 x 0 after) , then computer generates its own 256bit number, then it is hashed together by SHA-256.
      Then it does checksum to verify sequence integrity - hash by SHA-256 - then by adding first 8 numbers of Trezor-generated random number and adding them to the end of the number => producing 264bit number. This 264bit number is divided into 24 parts (each one 11bits long - 0 to 2047) and each part gets its english word according to the BIP-39 standard.
      Private keys are generated based on this seed + passphrase if you have set it.
      This is so enourmous entropy, that you can't even slightly imagine. So yeah, nobody's going to have the same seed as you do, if they use software which has correctly implemented random number generation.
      If by a greeeeeeeeat miracle you end up generating the same private key to the address (hash of a public key which is generated from private key), then you can spend those coins on that address.

  • @hosamtayyeb6001
    @hosamtayyeb6001 2 роки тому +1

    I have a qestion pls:
    For indiviual miners who mine through the pools, are they (the indiviuals) literaly do the mining process? OR they just provide the hash power to the pool in which the pool it self accumulates the hash powers and do the prosses of mining ?

  • @levivandenboogart8388
    @levivandenboogart8388 2 роки тому +2

    What if there's a block, where there is no nonce that gives the required # of 0's? Is it possible? Can we prove it's impossible? I need more brain-power on this theoretical question.

  • @shaneb315
    @shaneb315 4 місяці тому

    What is the origin of puzzles miners are trying to solve ? What are the results of solved puzzles - who uses that information and what is its purpose ?
    Are they solving scientific research problems for example ?

  • @wildride1641
    @wildride1641 2 роки тому +2

    Dear Andreas. Sometimes I saw an empty block containing only the coinbase tx. Could you please explain this phenomenon. Thank you

  • @arunv6159
    @arunv6159 Рік тому

    miners are hashing to find a solution but solution for what exactly?

  • @frednuernberger2136
    @frednuernberger2136 2 роки тому +1

    Why don´t the use just a lottery for all the miners who verified all transactions in the block correctly?

    • @SAL-fs1mr
      @SAL-fs1mr 2 роки тому

      Because anyone can do that, so you won't converge on consensus. You need a proof of work puzzle so that there is only one winner per block, not many, that would be chaos.

    • @frednuernberger2136
      @frednuernberger2136 2 роки тому +1

      @@SAL-fs1mr I understand how pow works. The question remains why not via a lottery only ONE miner gets the reward per block. Finding the nonce just is a "nonsense" brute force race which costs enormous amount of energy.

    • @SAL-fs1mr
      @SAL-fs1mr 2 роки тому +1

      @@frednuernberger2136 without proof of work, what's to stop me from making tens of thousands of nodes to game the lottery in my favor?

  • @Freddan0
    @Freddan0 2 роки тому +2

    lel you forgot it contains tx as well

  • @EduVencovsky
    @EduVencovsky 2 роки тому +1

    If only one person wins the prize when it solves the puzzle, how can anyone mine and still get some money? Wouldn't that go to only one person?

    • @CarlosGarcia-bj2py
      @CarlosGarcia-bj2py 2 роки тому +5

      There is a new block mined, on average, every ten minutes.
      Also, there are "mining pools" which allow miners to collaborate and share the rewards.

    • @howboutno2776
      @howboutno2776 2 роки тому

      Basically what you can and should do is joining so-called mining "pool". Many people join their computers together and are working on solving it and if anyone of them finds it, the pool distributes bitcoins to the all miners that tried proportionally to the power they provided.

  • @spectra7gaming471
    @spectra7gaming471 2 роки тому

    & honestly this is where I do have some doubts about the technology itself because it dosen't make sense to me that computers race to solve an algorithm and people/ miners are awarded with 12.5 btc

    • @SAL-fs1mr
      @SAL-fs1mr 2 роки тому

      Just because you have trouble understanding it doesn't mean the technology is flawed.

    • @spectra7gaming471
      @spectra7gaming471 2 роки тому

      @@SAL-fs1mr I didn't say it was flawed just that part doesn't make sense to me.

  • @nechar-joshi
    @nechar-joshi 2 роки тому +4

    Thank you for making me even more confused.

  • @holodeckdragon8876
    @holodeckdragon8876 Рік тому

    wow! look how different u looked a year ago. love u without the beard.

  • @grildcheez1504
    @grildcheez1504 2 роки тому +1

    Doesn't that mean if you don't have enough compute power you may not earn ANY bitcoin at all to even pay for the work you are doing since you never solved the puzzle.

    • @dutch-man
      @dutch-man 2 роки тому +1

      If you solo mine, sure. Join a pool and you fix this issue.

    • @JavierSalcedoC
      @JavierSalcedoC 2 роки тому

      Mining pools are older than the first exchanges. They are indispensable for the decentralization of the network. They also use open source protocols to connect with their peers and share rewards in a transparent way

    • @narumango22
      @narumango22 2 роки тому

      If I understand correctly, yes

    • @howboutno2776
      @howboutno2776 2 роки тому

      Basically what you can and should do is joining so-called mining "pool". Many people join their computers together and are working on solving it and if anyone of them finds it, the pool distributes bitcoins to the all miners that tried proportionally to the power they provided.

  • @JayCo-
    @JayCo- Рік тому

    Can you make new videos please Andreas

  • @gamblingguru2235
    @gamblingguru2235 7 місяців тому

    I’ve been a miner for 10 years and only solved 2 to annoying

  • @trisnrik2245
    @trisnrik2245 2 роки тому +3

    Bitcoin is only growing in importance
    And...it the one thing that is politics neutral!
    Wait did his guy say there is a Merkel bloc? I don't like the sound of that blck

  • @poppyeva5787
    @poppyeva5787 2 роки тому +1

    Crypto mining ⛏️ is never easy

  • @ronfeltman8506
    @ronfeltman8506 2 роки тому +1

    BTC heading to 20k, perhaps lower... GL everybody

    • @SAL-fs1mr
      @SAL-fs1mr 2 роки тому +2

      I hope so, I want to stack more cheap satoshi's.

  • @CryptoCurrentOfficial
    @CryptoCurrentOfficial 2 роки тому +2

    Great content! You can also come check out Crypto News & Information in our Channel!