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.

44 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
2
votes
0answers
118 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
2answers
226 views

API for multiple blockchains

Is there an API to get data for multiple blockchains? Most blockchain explorers already offer an API but I'd like to be able to get information for different blockchains through the same API.
2
votes
0answers
228 views

Is my understanding of Blockhain Endianness correct?

I know questions on this topic have been asked to death in a number of different ways. I also know that what endian order refers to specifically is dependent on context. What I want are some ...
2
votes
0answers
81 views

Blake-256 genesis block generation helpint

I'm making my own coin and get problem to generate genesis for my fork. Genesis need to be blake-256. I was found this git https://github.com/lhartikk/GenesisH0 and tryed to use this script, i also ...
2
votes
1answer
1k views

How do I get hash to verify transaction?

If I have the public key and signature for a transaction how do I get the hash value that is used in verify(hash, sig, pubkey). I want to know how to work backwards from a raw transaction to get it, ...
2
votes
0answers
3k views

BFGminer can't find my NanoFury on Raspberry Pi

Related: BFGminer can't find my NanoFury! Posted on the RPi Exchange as well https://raspberrypi.stackexchange.com/questions/14753/bfgminer-cant-find-my-nanofury-on-raspberry-pi Forums: https:...
2
votes
0answers
475 views

attempting to decipher a cgminer share.log

Here is 1 entry from a share processed in a feathercoin mine pool: 1367788723,accept,ffffffffffffffffffffffffffffffffffffffffffffffffffffffffff070000,http://mining-foreman.org:11341,GPU1,1,...
2
votes
2answers
6k views

Generate private key from a bip-39 seed phrase?

I'm able to generate a new private key and associated public addresses using bitcoin-core, but what I really want to do is generate a new private key from a 24 word seed phrase. I'm not sure how to go ...
2
votes
1answer
584 views

BIP32 HD Wallets: HMAC vs. “just” Hashing the Seed

In A. Antonopoulus' Mastering Bitcoin (2nd edition) on page 106, there is a nice illustration showing how the basis for a BIP32 HD Wallet is generated: So here is the one thing I don't understand ...
1
vote
0answers
50 views

Python Code - import error : cannot import name “privtopub” from 'bitcoin'

Hello everyone when I start this code on PYCHARM looks like no problem. But when I turned this code from python to exe and exe don't start and it says: import error: cannot import name "...
1
vote
0answers
53 views

How can I transfer unconfirmed transactions from wallet.dat to a new blockchain wallet

My question may not be very clear since I’m not really an expert in bitcoin and its technology. But in my possession I have just a wallet.dat files with an unconfirmed transaction on it. I followed a ...
1
vote
0answers
39 views

cannot generate bitcoin first block

I have download bitcoin source and change genesis in regtest. and i try to generate 1 block by command ./bitcoin-cli -generate 1 it does not show any mining block. i try over 10 times but it is still ...
1
vote
0answers
21 views

RegTest Genesis Error

how to generate regression test genesis block ? i saw in bitcion nonce is 2. but i generate from GenesisH0 it not showed nonce 2. for other altcoin i saw nonce is 0 why ? how to generate it ? python ...
1
vote
0answers
62 views

Calculating P2WKH nested in P2SH addr/redeem script hash from pubkey

My calculation of the hash160 doesn't seem to be correct - what are my sins? Tx spending the input: https://www.blockchain.com/btc/tx/d490cc0a5b9799e09b02dd4b20a6d7ca297c09c425983efc13b382f6023d0376 ...
1
vote
2answers
2k views

How to find Reused R values

I use software from https://github.com/ca333/rng-scanner , I try to find r that is reused. from the software I found results Bitcoin Address : 1GQdrgqAbkeEPUef1UpiTc4X1mUHMcyuGW In Input NR : 141 ~ ...
1
vote
0answers
87 views

How to sign an Altcoin transaction manually with 2 inputs and 2 outputs

So i'm working with the altcoin denarius which has the following raw TX structure. This is a transaction I am try to sign: Original: ...
1
vote
0answers
47 views

How difficult is it to confirm a Bitcoin Block?

If I have done the math right to come up with this hash, to confirm a true block and this is a confirmed hash. You can look it up here Bitcoin Block #570240 ...
1
vote
0answers
377 views

How to convert a bitcoin address to the respective hash160 using bash?

I want to convert a list of bitcoin addresses to their respective hash160 values as illustrated using bash :
1
vote
0answers
294 views

Estimated number of hashes

This is not a duplicate of previous, similar questions I've read on StackExchange, since none of those questions, nor the answers, go into the difficulty theory, as espoused on the Bitcoin Wiki. ...
1
vote
1answer
1k views

The warpwallet challenge 2

here you can find a public challenge aimed to brute force a brain wallet private key, derived from 8 char long [a-zA-Z0-9] passphrase with a salt of "a@b.c". Is it possible to adapt an hashing ...
1
vote
0answers
42 views

What's a good repo to fork if you want to create a blockchain like a “Math” coin or Curecoin. (mining equations, not hashes)

I want to create my own crypto currency and I want to know what's the best github repo to fork when it comes to making a blockchain that's based off of getting the miners to do mathematical ...
1
vote
0answers
1k views

How can I mine ALT SHA-256 coins using a Bitmain S4?

The bitmain S4 does 2TH/s out of the box with no overclocking. For many alt SHA-256 coins, this can be 10% - 50% of the entire network hashing power, which would allow us to gain alt coins quickly, ...
1
vote
0answers
465 views

How to get bitcoin address from the pubkey_hash using bitcoin-abe or something else?

I'm using: https://github.com/bitcoin-abe/bitcoin-abe to import the blockchain into a mysql DB it is almost done after 5 days. So I started looking at the data and didn't see any addresses. I know the ...
0
votes
2answers
68 views

Merkle tree hash - Computing hash manually doesnt match the one computed by SHA256D64

I am trying to go through the code to check the merkle tree hash computation done by BlockMerkleRoot in bitcoin core. The hash computed using online tools by appending transaction hashes is different ...
0
votes
1answer
254 views

how do i brute force my wallet.dat to get my private key

i am not really a computer programmer, but i want to get my private key from my wallet.dat, i have just the wallet.dat file and the public address where the bitcion was send. From my previous ...
0
votes
0answers
37 views

Looking for feedback on (Browser-based) Blockchain Simulator

I have created a Blockchain 'simulator' in JavaScript, for the purpose of helping explain how the technology works. It is complementary to a website I have set up years ago, where I attempt to explain ...
0
votes
0answers
20 views

Is the block header in stratum protocol double hashed?

I'm trying to understand how the block header is done when mining in a stratum pool. Should the block header be hashed once or double hashed ? the block header consists of the version, previous hash, ...
0
votes
0answers
117 views

How do I hash header block with C++

So im trying to hash a header in C++ and I am having some trouble. I have tried different libraries (cryptopp, openssl) cant seem to hash the header correctly. This is the block which I am testing: ...
0
votes
1answer
167 views

Is there a CUDA binary to convert a brainwallet string to a BTC address?

I am looking for a CUDA program which will take a single argument, a brainwallet password, and output a BTC address. After reading through several threads on how to convert passwords to public keys, ...
0
votes
0answers
62 views

Parsing transaction hash from rawblock data

I got block raw data next url https://blockchain.info/rawblock/00000000000000000002447735c7723ee9188322c0938e6587866a4458b9135f?format=hex Can I find transaction hash in url used python?
0
votes
0answers
27 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
31 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
46 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
0answers
81 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
534 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
91 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
94 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
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
67 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
0answers
400 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
290 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
0answers
115 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?...
-1
votes
1answer
283 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 ...