<
qmm>
what are all the cryptographic hash functions involved in bitcoin-core?
<
sipa>
block and transaction hashes are double sha256
<
sipa>
inside scripts, sha1, sha256 and ripemd160 are available
<
sipa>
should only sha256+ripemd160 is commonly used
<
sipa>
*though only
<
qmm>
thank you sipa
<
sipa>
sha512 is included in the source code for the purpose of bip32 derivation, but that functionality is not actually exposed
<
Chris_Stewart_5>
Is there a reliable way to detect a coinbase inputs when looking at txs independent of blocks?
<
sipa>
yes; their prevout hash is 0
<
Chris_Stewart_5>
negative satoshi is required as well?
<
sipa>
inputs don't have amounts
<
Chris_Stewart_5>
index* sorry
<
sipa>
negative 1, even
<
luke-jr>
qmm: note that to implement a node, you MUST support all of the available hashes though
<
qmm>
thanks for the extra information luke-jr