Questions tagged [hash]

This tag should be used for questions related to hashes. A hash is the output of a hash function, a function which .is a mathematically reproducible but irreversible process that takes in an arbitrary length input and produces a fixed length output. The same input will always result in the same output. Hashing is central to Bitcoin mining as well as the generation of Bitcoin addresses.

Filter by
Sorted by
Tagged with
0
votes
0answers
25 views

Can I get all block header data like the SPV node?

It hasn't been long since I studied Blockchain. I only need header data, not all block data, for study purposes. As far as I know, the SPV node stores only the block's header information. Can i get ...
0
votes
0answers
35 views

Padding the blockheader in sha256

The block header size is 80 Byte (640 bits) so we must pad it to a multiple of 512 (In our case to 1024) like this: (blockheader in binary)+1+00000.....000+1010000000 where "1010000000" is ...
0
votes
0answers
27 views

Solution to the same TXID from 3 different client

Someone sent me some bitcoins.... then I had some other clients sending me the same txid that they also made a payment, but I received only one payment.
0
votes
0answers
14 views

Why do these 2 blocks have the same hash for the block reward? [duplicate]

Could someone explain to me that why do the hashes of the block rewards in these 2 blocks be the same? https://www.blockchain.com/btc/block/...
0
votes
0answers
39 views

What does the version number in the blockheader represent

While looking up how a block get mined I stumbled over the version number in the header - which is used to "keep track of changes to the protocol". But even in the last 5 blocks of the chain (at the ...
0
votes
1answer
161 views

How to generate the hash of public key in Bitcoin [closed]

I'm trying to hash the public key with SHA256 and then ripemed160 and get the hash. but it gives the wrong hash Public key: 2b4632d08485ff1df2db55b9dafd23347d1c47a457072a1e87be26896549a8737 Hash ...
0
votes
1answer
65 views

If i have 42 tera hashes of mining power, how long will it take me to mine a block solo, and if i join a mining pool, how much bitcoin will I get? [duplicate]

If i have 42 tera hashes of mining power, how long will it take me to mine a block solo, and if i join a mining pool, how much bitcoin will I get? I am intrested in buying 4 Bitmain Antminer T9+.
0
votes
0answers
71 views

Blockchain.info explorer doesn't recognize my hash

Blockchain.info doesn't recognize my tx. Can someone explain this. My wallet is debited. The transaction is unconfirmed too.
0
votes
0answers
442 views

How get the public key to hex script? like command decodescript of bitcoin core

If I want to recreate the command decodescript of bitcoin core? how is the process for decode the script P2PK? So I'm writing for personal exercise the Bitcoin script decompiler, form moment I have a ...
0
votes
0answers
55 views

Bitcoin Module - Hash512-EVP_ByteToToken

Is there any standalone software modules created which allow the user to complete the following: 1. Enter in passphrase 2. Enter a given salt 3. Enter the number of rounds I am looking ...
0
votes
0answers
84 views

Method to create P2SH address

I am trying to create a htlc smart contract manually by writing a script and finding the hex using the btcc compiler. Now node A has to create a transaction using that hex and lock money in that p2sh ...
0
votes
0answers
15 views

Hash rate of the average PC/Top end PC [duplicate]

Hi I was wondering if anybody had any idea about what the hash rates are like with PCs released fairly recently. I'm sort of looking for figures to use for an average user if they wanted to use their ...
0
votes
1answer
246 views

ScriptCode field in P2SH-P2WPKH BIP-143 Test Vector

I'm trying to understand the meaning of scriptCode in the context of spending a P2SH(P2WPKH) UTXO. I've already read the following answer to a similar question, but it does not fully address my ...
0
votes
0answers
54 views

How may bitcoins hash algorithm be secured in the future from quantum computing brute forcing?

Other threads already answer very clearly that quantum comps could easily "break" /attack bitcoins chain. Now: Are there any ideas among the bitcoin devs circulating out there, how to save bitcoin ...
0
votes
0answers
63 views

Uniquely identifying a UTXO

I see two ways: Txid + index Txid + script hash Pros of the txid + index: Simple and short Cons of txid + index: It relies on array iteration being deterministic and all third party services ...
0
votes
2answers
849 views

Bitcoin-core how to get all transactions hashes?

Please, can anyone help me how to get all transactions hashes? How to browse all the transactions hashes used in blockchain? P.S. How simply get a list of all transactions IDs (as a simple text list) ...
0
votes
1answer
128 views

Create master public key after HMAC-SHA512

I have that result after hash_pbkdf2 5B56C417303FAA3FCBA7E57400E120A0CA83EC5A4FC9FFBA757FBE63FBD77A89A1A3BE4C67196F57C39A88B76373733891BFABA16ED27A813CEED498804C0570 left 256 bits are: ...
0
votes
1answer
53 views

in transaction, what is 'hash' data?

i'm studying Bitcoin: A Peer-to-Peer Electronic Cash System Satoshi Nakamoto and this paper introduce a transaction model. (above picture) but i don't understand what is 'Hash' means exactly i ...
0
votes
0answers
390 views

Natural Language Processing and Blockchain?

This question is about one of the applications of the Blockchain in Artificial Intelligence. I am not very familiar with Natural Language Processing and I see that there is a Blockchain platform named ...
0
votes
1answer
800 views

Why A Block have a Merkle root hash? [duplicate]

That is the question, why a block needs to have a Merkle root hash, as Iundestand, once a block is mined the hash value of this block is stored at the header of the next one so, it generates the chain....
0
votes
1answer
275 views

How do I double SHA-256 the header of block #59,500?

I'm not sure how to combine all of this information. https://blockchain.info/block/00000000096af43105123c499521e1d131d172e7e1bf2ed0843290a921f1f6a7 Version 1 Time Bits 470771548 (is this the right ...
0
votes
1answer
120 views

Would mining future bitcoins break the bitcoin?

assuming an bitcoin miner with very much hashrate like bitmain would decide to mine "future" bitcoin blocks and provide them within very short time to the network, would this break the bitcoin? As i ...
0
votes
1answer
1k views

Bitcoin mining difficulty and hash rate

On blockchain.info there is the charts that shows the mining difficulty over time and the hash rate over time. See: Hash: https://blockchain.info/nl/charts/hash-rate Mining difficulty: https://www....
0
votes
1answer
67 views

When computing the hash, do you need anything after the number of difficulty bits?

I'm going to screw up a lot of the terminology here. I'm trying to understand the Bitcoin algortihm and wanted to use this JS miner -- https://github.com/howardchung/jsminer . Specifically, I'm ...
0
votes
3answers
534 views

Validation of New Blocks [duplicate]

Basic mining question: Once a miner solves the block and comes up with the block hash, how are the other nodes in the network incentivized to validate that hash?
0
votes
1answer
693 views

How to use API of BTC.com

I'd like to get some information(BTC's difficulty, hash rate). I think I can get that from api of BTC.com, and I checked github of btccom, but I can't mount api with python. How Can I use btccom api(...
0
votes
1answer
314 views

Getting Hash160 of bitcoin address

How to get hash160 address in string using bitcoinj ,I tried the following code NetworkParameters params = TestNet3Params.get(); String ads = "n1XZMMm3ikh97Mr8JVnnahfugad2DRcVrB"; Address address = ...
0
votes
1answer
346 views

A short program to mine a block

Anyone can give step-by-step explanation about the code below (if possible, with a c/c++ equivalent)? import hashlib, struct ver = 2 prev_block = "...
0
votes
1answer
418 views

how make own gitian-sigs end detached sigs?

How make own gitian-sigs end detached-sigs. I cannot find any useful info. Where i try see it's always start with "you already have .assert and .sig . but how they create ?
0
votes
1answer
176 views

Thin Client and OP_RETURN

I'd like to better understand how a light client works. As far as I know, a light client stores locally only the block headers (80 bytes each) and it receives a new block header on average each 10 ...
0
votes
0answers
113 views

What's the most fair mining algorithm

lots of people claim that Bitcoin's mining algorithm is unfair because ASIC has definite advantages over other chips. So, what can be the most fair algorithms that maximizes decentralization of mining?...
0
votes
2answers
411 views

Attacking Blochcain/Bitcoin by hash

Assuming that SHA-256 is not save anymore. How could the Bitcoin blockchain get attacked? Ok I could get the input value for the hash function but could I now easily add my own blocks to the chain? I'...
-1
votes
1answer
2k views

finding a fast way to calculate a nonce

I found a way for ultra-fast nonce calculation, based on my own method. Does it makes sense to introduce such method, or the complex way of nonce calculation has some advantages? Thanks!
-1
votes
1answer
29 views

BTC on blockchain

I see my Wallet address on the Blockchain but it says spent and what does that mean? It did not arrive to the wallet i sent it too! I need it to be located and returned or sent to the wallet i gave.
-1
votes
2answers
1k views

What happens if I send a XRP transaction to a blank TAG when I was supposed to send to a specifc TAG?

I sent XRP to a blank TAG while I was supposed to send to the éxchange's TAG. The address is the one from the exchange but the TAG was left blank. The exchange says that they can't recover the money. ...
-1
votes
1answer
861 views

What computations does Btcoin perform during mining? [duplicate]

Possible Duplicate: What exactly is Mining? What are the exact computations dies Bitcoin is performing during the mining? I understood that it has to do something with hashes and proof-of-work. ...
-1
votes
1answer
270 views

GPU Mining Speed

I am a bit new to the whole mining thing and just have a economical issue when it comes to selecting GPUs. Sorry if the title is in appropriate. Let's just say in mining Ethereum, a 1070 ti (costs $...
-1
votes
1answer
2k views

Not getting enough Hashrate

I have an i3-3220 processor which i am using for mining. I know that you're supposed to use a GPU and all that. But currently i'm just trying it out before spending money. I'm using CPUMiner, mining ...
-2
votes
3answers
1k views

Why can't just any hash be used for a block? [duplicate]

disclaimer: I'm completely new at this, basic computer skills limited to GUI point-&-click I took a look at how difficulty was explained, that it is "increased" by requiring the SHA-256 ...
-4
votes
2answers
9k views

GH/s is bigger than TH/s [duplicate]

How does BAIKAL X10 make more money than AntminerS9 although BAIKAL X10 Only 10 GH/s and Antminer S9 14 TH/s ? So, which one is bigger GH/s or TH/s? I am confused.

1
5 6 7 8
9