Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [block-hash]

The tag has no usage guidance.

1
vote
2answers
29 views

Trying to understand why hash value is more secure from hash algorithm

I am currently studying in college in the US and was actually curious about bitcoin and cryptocurrencies as a whole. I started looking on free university sites like Stanford university and New York ...
1
vote
0answers
29 views

Proof-of-Stake: How to ensure immutability of the blockchain?

In Proof-of-Work, a miner tries to solve PoW puzzle based on the hash of previous block, such that in case of changing block B_i, all blocks after that (blocks B_i+1, B_i+2, ...) are no longer valid ...
-2
votes
0answers
23 views

How to create the block hash for a dash block?

Apparently dash doesn't use the same hashing algorithm bitcoin uses, but instead uses something called x11 hashing. Does anyone know the formal steps from raw block to block hash?
1
vote
2answers
34 views

What exactly makes altering of data in non-bitcoin blocks hard?

If leading zeros is only bitcoin requirement, then what makes altering of data in blocks hard? Like now its easy to modify a block and generate new hash for every subsequent blocks since generating ...
1
vote
2answers
56 views

Why is the nonce bruteforced from 0 to n while mining?

bitcoin noob here. I was wondering why is the nonce increased from 0 to n while searching for a blockhash? Why not start at some other integer > 0 for example? My background is in ethereum-dev, so ...
0
votes
1answer
121 views

Mining Theory: What would happen if a block hash collision occured? [duplicate]

To my knowledge, neither SHA256 or scrypt have ever had provable instances of hash collisions occur.. However, if this highly unlikely event was to happen, what would that mean for the state of the ...
0
votes
2answers
333 views

How to decode the block hash?

I got the block hash from zmq. 00000000000000000045c639280aee532c5b12b03c80bfdec7aae674fd8246e0 I want to decode the above block hash. Could anyone tell me how to decode the above block hash?
0
votes
1answer
727 views

How to solve error: Incorrect or no genesis block found. Wrong datadir for network?

I am making my own alt-coin, and I have mined the first genesis block hash(after some time), Merkle hash, nnonce and time. I am running on Ubuntu14.04. But when I run ./bitcoind I get this error ...
1
vote
2answers
39 views

In the case the difficulty increases as much in future, will the possible hashes run out/be insecure?

As I understood, in the block hash, the amount of zero's is the nonce, like this: 0000000000000000005f54622d97866453137466737289c2500e67f6fce1cd4e When there are more blocks found than in the ...
0
votes
2answers
723 views

Why Bitcoin Mining requires “Hash Guessing” problems, even though Consensus algorithm exists to tackle BFTP?

This post on CoinText explains Purpose of Hashing in Bitcoin Mining: The purpose of all the extra work is to prevent the traitors from sending false messages but serves no other purpose. The idea ...
0
votes
0answers
633 views

How To Calculate Merkle Root?

I found this example: Current merkle hash list: 32650049a0418e4380db0af81788635d8b65424d397170b8499cdc28c4d27006 30861db96905c8dc8b99398ca1cd5bd5b84ac3264a4e1b3e65afa1bcee7540c4 Current merkle ...
4
votes
2answers
570 views

Which block has the lowest hash? [duplicate]

Which block has the lowest hash currently? Is there a website that allows to sort blocks by hash?
1
vote
1answer
409 views

merkle root 2 codes

While trying to calculate the merkle root in python from the data i got from the mining pool.... i found there are 2 different codes. code 1: def build_merkle_root(coinbase_hash_bin, merkle_branch):...
1
vote
1answer
155 views

Hash that defines previous block in Blockchain vs mathematical solution

Is the hash that defines the previous block (block A) in a new block (block B), the same as the hash the miner calculated to submit block A? As far as I know, you need to find a nonce so that the ...
1
vote
1answer
439 views

Leading zeros and numbers of hashes before arriving to solution

Had been reading a post written by Adam Back a couple years back (no pun intended) with regards to calculating bitcoin difficulty in bits (so we could arrive to the number of hashes roughly needed ...
0
votes
0answers
1k views

Bitcoin target calculation from bits

I know there are a few questions related to this one, but no one helps me at all. I want to calculate target value from bits value and check if the block is correct. I am using this block like an ...
1
vote
1answer
342 views

Chain with most proof of work - hash target or block header hash?

What is calculated towards the sum of PoW of the chain? Is it the target difficulty that has been met or is it the actual block header hash? Say the target is 000000ABC00000000... and I mine block ...