follow us on twitter . like us on facebook . follow us on instagram . subscribe to our youtube channel . announcements on telegram channel . ask urgent question ONLY . Subscribe to our reddit . Altcoins Talks Shop Shop


This is an Ad. Advertised sites are not endorsement by our Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise Here Ads bidding Bidding Open

Author Topic: How is the target value (PoW) determined?  (Read 1185 times)

Offline bosshyip

  • Full Member
  • *
  • Activity: 262
  • points:
    2083
  • Karma: 2
  • Mpcx
  • Trade Count: (0)
  • Referrals: 0
  • Last Active: April 23, 2023, 04:11:57 AM
    • View Profile

  • Total Badges: 16
    Badges: (View All)
    Topic Starter Poll Starter 100 Posts
How is the target value (PoW) determined?
« on: July 06, 2018, 08:08:19 AM »
I'm trying to get a more in-depth understanding of exactly what is happening within our protocol. I've mostly taken it for granted over the years, and lately I've been really attempting to understand what is under the hood. Understanding how mining works has been particularly difficult, but it seems to have boiled down to where does the target value come from? The "answer" to the "question" all of the miners are rushing to "solve", I cannot figure it out. I did attempt to use the search function here, read through the whitepaper again and can't seem to find my answer. I'm assuming it is in the source code, but I'm a bit incapable of scouring through it.

I think it has something to do with combining all of the transaction data (headers?) that is to be included within the block, and then the miner is solving for the data (nonce) that needs to be added to the block (transaction data) in order to create an appropriate sha-256 hash (X # of leading 0's, according to difficulty) to be accepted, is that right? The hash is unique and unpredictable, because of the information being added to a block constantly being generated (in a decentralized manner), through new transactions and timestamps; still right?

Would someone be able to create a block of exclusively transactions and information they have control over and have already generated a nonce for? Effectively solving an entirely self-created block (in advance) that would be accepted by the blockchain and allow you to reap the block reward. Is this prevented by accepting the "longest" valid chain? This may all be wrong, and foolish.

P.S. I know I can easily see the hash of a block, once solved, but is there any way or any record of the "nonce" or answer that lead to the hash?
███▌
 ▐██▌
   ███
    ▐██▌
      ███
 ███   ▐██▌                  ██
 ████    ███               ████
 █████▌   ▐██▌           █████
 ███ ███    ███        ████ ███
 ███  ▐██▌   ▐██▌    ████   ███
 ███    ███    ██ ████     ███
 ███     ▐██▌   █████       ███
 ███       ███   ▐█▌        ███
 ███        ▐██▌            ███
 ███          ███           ███
 ███           ███         ███
                 ▐██▌
                  ▐██
                    ██▌
                      ████




..DIGITAL CRYPTO.............
..WEALTH MANAGEMENT..
..PLATFORM.......................

██
██
██
██
██
██
██
██
██
██
██
██
██

██
██
██
██
██
██
██
██
██
██
██
██
██

        ▄▄████████▄▄
     ▄████████████████▄
   ▄████████████████████▄
  ███████████████▀▀  ████
 ████████████▀▀      ██████
▐████████▀▀   ▄▄     ██████▌
▐████▀▀    ▄█▀▀     ███████▌
▐████████ █▀        ███████▌
 ████████ ▄███▄   ███████
  ████████████████▄▄██████
   ▀████████████████████▀
     ▀████████████████▀
        ▀▀████████▀▀

Altcoins Talks - Cryptocurrency Forum

How is the target value (PoW) determined?
« on: July 06, 2018, 08:08:19 AM »

This is an Ad. Advertised sites are not endorsement by our Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise Here Ads bidding Bidding Open


 

ETH & ERC20 Tokens Donations: 0x2143F7146F0AadC0F9d85ea98F23273Da0e002Ab
BNB & BEP20 Tokens Donations: 0xcbDAB774B5659cB905d4db5487F9e2057b96147F
BTC Donations: bc1qjf99wr3dz9jn9fr43q28x0r50zeyxewcq8swng
BTC Tips for Moderators: 1Pz1S3d4Aiq7QE4m3MmuoUPEvKaAYbZRoG
Powered by SMFPacks Social Login Mod