Target Hash Definition, Investopedia

DEFINITION of ‘Target Hash’

A target hash is a number that a hashed block header vereiste be less than or equal to ter order for a fresh block to be awarded. The target hash is used ter determining the difficulty of the input, and can be adjusted te order to ensure that blocks are processed efficiently.


Merkle Root (Cryptocurrency)

Mining Pool

Violating DOWN ‘Target Hash’

Cryptocurrencies rely on the use of blockchains which contain the transaction histories, and are “hashed” or encoded into a series of numbers and letters. Hashing involves taking a string of gegevens of any length and running it through an algorithm to produce an output with a immovable length. The output will always be the same length, regardless of how big or petite the input is. The use of hashing means that anyone dealing with a blockchain has to reminisce the hash rather than the input itself. Each block will contain the hash of the previous block header.

Decoding and encoding the blockchain is referred to spil mining. Mining involves the use of computers to run hashing algorithms to process the most latest block, with the information needed ter mining found te the block’s header. The cryptocurrency network sets a target value for this hash – the target hash – and miners attempt to determine what this value is by testing out all possible values.

The block header contains the block version number, a timestamp, the hash used ter the previous block, the hash of the Merkle Root, the nonce, and the target hash. The block is generated by taking the hash of the block contents, adding a random string of numbers (the nonce), and hashing the block again. If the hash meets the requirement of the target, then the block is added to the blockchain. Cycling through solutions te order to guess the nonce is referred to spil proof of work, and the miner who is able to find the value is awarded the block and paid ter cryptocurrency.

The target hash for Bitcoin is a 256-bit number, and can be found te the block’s header. Mining a block requires the miner to produce a value (a nonce) that, after being hashed, is less than or equal to one used te the most latest block accepted by the Bitcoin network. This number is inbetween 0- (the smallest option) and 256-bits (the largest option), but is unlikely to everzwijn be the maximum number. Because the target hash could be a enormous number, the miner may have to test a large number of values before being successful. An unsuccessful miner has to wait for the next block, which leads to miners likening the finding of a hash solution to winning a wedstrijd or the lottery.

The target hash is adjusted periodically. The hash functions used to generate the fresh target have specific properties designed to make the blockchain (and cryptocurrency) secure. It is deterministic, meaning that it will produce the same result each time the same input is used. It is swift enough so spil to not take too long to comeback a hash for the input. It also makes determining the input very difficult, especially for large numbers, and makes petite switches to the input result te a very different hash output.

Related movie: How to get rich ter Bitcoin/Cryptocurrency te 2018

Leave a Reply

Your email address will not be published. Required fields are marked *