New answers tagged hash
0
votes
Calculate/Verify the Hash of a Bitcoin Block Header
We need to concatenate these fields in correct format and order:
"versionHex": "20002004", "previousblockhash": "...
6
votes
Accepted
What are hash functions used for in bitcoin?
In consensus rules:
There are script opcodes that perform hash operations on the stack:
OP_SHA256: SHA256
OP_RIPEMD160: RIPEMD160
OP_SHA1: SHA1
OP_HASH160: SHA256 followed by RIPEMD160 (very ...
0
votes
Python Code - import error : cannot import name "privtopub" from 'bitcoin'
For this error:
AttributeError: module 'bitcoin' has no attribute 'privtoaddr'
I uninstalled bitcoin lib:
pip3 uninstall bitcoin
Then removed folder:
/home/user/.local/lib/python3.11/site-packages/...
Top 50 recent answers are included
Related Tags
hash × 504blockchain × 90
transactions × 64
sha256 × 58
mining-theory × 47
difficulty × 43
block × 42
proof-of-work × 34
hashpower × 31
bitcoin-core × 29
nonce × 27
merkle-tree × 25
signature × 24
public-key × 23
address × 22
mining-pools × 22
script × 21
security × 18
private-key × 18
block-header × 17
cryptography × 16
ecdsa × 15
algorithms × 13
bitcoind × 12
asic × 11