Questions tagged [block-hash]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
42 views

Recreate Java code in python

I have a java code that I need to pass to python but I don't know which libraries to use and how to start and if you can help me I would really appreciate it MNEMONIC = "twenty four mnemonic ...
you1977's user avatar
  • 19
0 votes
1 answer
44 views

What is the difference between hash-target and the previous hash? [duplicate]

Is the target that the requirements have to meet a number that is set by the network that is always the same, or is the target the hash from the previous block?
Julia's user avatar
  • 11
1 vote
2 answers
160 views

Why does the Genesis block appear to have a lower hash than necessary?

The hash of the genesis block of bitcoin has two extra 0 as compared to other block hashes. According to the logic, it should have been the same as they all have the same difficulty. Why is it so? Was ...
Aman Gupta's user avatar
0 votes
1 answer
32 views

How difficulty increases to get the lucky hash in blockchain? [duplicate]

Currently first 19 zeros are required in bitcoin block hash which has become very hard. How this zeros are being controlled to increase? If it is dynamic what are the factors which has influence to ...
user3717550's user avatar
4 votes
4 answers
2k views

Is it possible for an unsolvable block to exist?

Is there a proof that the hashing will always yield a result? Or proof that there exist unsolvable blocks? It's my understanding that even if we hit an unsolvable block that eventually the ...
Addy's user avatar
  • 171
0 votes
1 answer
146 views

After mining a block and getting a hash. What do i do next? [duplicate]

I am pretty new to bitcoin.Suppose I mined it with a mining software. Now what do i do to earn a reward? How do i see the transactions? How do know what the block is? Most importantly, where do i ...
Shreyas Fegade's user avatar
1 vote
1 answer
310 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 ...
burchbit's user avatar
2 votes
2 answers
2k 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 ...
B Sameer Kumar Subudhi's user avatar
3 votes
1 answer
5k 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 ...
dave's user avatar
  • 61
1 vote
1 answer
158 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?
Oluwaseyi Jaiyeoba's user avatar
3 votes
2 answers
3k 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 ...
jack's user avatar
  • 31
0 votes
2 answers
422 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 ...
guest1234312's user avatar
0 votes
1 answer
277 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 + ...
vincenzopalazzo's user avatar
1 vote
2 answers
106 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 ...
Crypt0bl0ckm0nz's user avatar
2 votes
0 answers
183 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 ...
Questioner's user avatar
  • 1,151
2 votes
2 answers
800 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 ...
SimonSchuler's user avatar
1 vote
1 answer
2k 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 ...
apt-getschwifty's user avatar
0 votes
2 answers
3k 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?
merklexy's user avatar
  • 107
0 votes
1 answer
2k 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 ...
L.Kale's user avatar
  • 3
1 vote
2 answers
56 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 ...
ReneFroger's user avatar
0 votes
2 answers
1k 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 ...
CᴴᴀZ's user avatar
  • 103
5 votes
0 answers
855 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?
MCCCS's user avatar
  • 10.1k
1 vote
1 answer
775 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):...
Santan's user avatar
  • 75
1 vote
1 answer
308 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 ...
Peter111's user avatar
  • 277
1 vote
1 answer
958 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 ...
John Doe's user avatar
2 votes
1 answer
490 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 ...
Wapac's user avatar
  • 1,074