Questions tagged [block-hash]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
5
votes
0answers
844 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?
3
votes
1answer
2k views

Longest unconfirmed transaction?

I recently tried to make a transaction with coinbase. In a hurry I put no fee though. It's still unconfirmed and blockchain.info doesn't recognize my hash. But my btc qt wallet is debited. My question ...
2
votes
2answers
378 views

Why can't miners meet the difficulty by picking a low number for the block hash?

In terms of 'proof of work' my novice understanding is that miners are tying to come up with a 64-digit hexadecimal number, "hash," that is less than or equal to the target hash. Can't miners always ...
2
votes
2answers
122 views

Difference between block hash and transaction hash in bitcoin-core

Is there a logic based on which one can determine if a given 32-bit hash corresponds to a transaction or a block without enquiring a bitcoin-client? In other words, how do I differentiate or ...
1
vote
1answer
193 views

Why are there ETH addresses in bitcoin wallet.dat?

So I have a lot of addresses or pkscript listed in my wallet.dat files that begin with 0014....all...numbers. There is bitcoin address on the same line starting with a 3. When I strip the 0014 and ...
1
vote
2answers
48 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
1answer
400 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 ...
1
vote
1answer
185 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
32 views

What would be the effect on the number of leading zeros hash generation if bitcoin increase its nonce size from 32 to 60 or 100 bits?

If Bitcoin increases its nonce size from 32 bits to double or triple the size, how will it affect the speed of getting the right hash with the required number of zeros?
1
vote
2answers
131 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 ...
1
vote
2answers
43 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 ...
1
vote
1answer
687 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 ...
1
vote
0answers
81 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 ...
1
vote
1answer
546 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
2answers
51 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 ...
0
votes
2answers
935 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
2answers
170 views

How to get the block hash in the chainstate leveldb?

From this link What are the keys used in the blockchain levelDB (ie what are the key:value pairs)?, to get the block hash I use the obfuscation key and xor it with the result I get from the db. So I ...
0
votes
1answer
126 views

Create a Double sha256 block and trandaction

I have same problem whit create a double sha256 of the transactions and blocks with C++. The hash block it is created with the concatenation of these data, version + previusBlock + merkleRoot + ...
0
votes
1answer
509 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
853 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
23 views

Decoding raw transaction

I have several raw transaction hashes that when I go to decode on blockchain it says; Trying to access beyond buffer length What does this mean? I got these hashes from an encoded UTC file i sent to ...
0
votes
1answer
1k 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 ...
0
votes
0answers
791 views

How To Calculate Merkle Root?

I found this example: Current merkle hash list: 32650049a0418e4380db0af81788635d8b65424d397170b8499cdc28c4d27006 30861db96905c8dc8b99398ca1cd5bd5b84ac3264a4e1b3e65afa1bcee7540c4 Current merkle ...