Python code to (2012) – help me to eliminate the errors

Chech this explanation.. OR TL;DR version Assuming you came accros this site bitcoin-mining-hard-way-algorithms. I’ll show you in C# and you can convert to VB, using the same logic. Here is the deal: All information in a bitcoin block is hexadecimal. So the header you are formming is compounded by: var header = $”{ver}{prev_block}{mrkl_root}{timestamp}{bits}{nonce}”; Let’s calculate […]

address – Why are Bitcoin addresses hashes of public keys?

It’s just to get shorter addresses. Regular public keys are 65 bytes long, which is much too long to be convenient. Compressed public keys are 33 bytes and could potentially be used instead of hashes, though these are a little longer than 20-byte hashes. It also seems likely that Satoshi didn’t know about compressed public […]