Skip to main content
OverflowAI is here! AI power for your Stack Overflow for Teams knowledge community. Learn more

New answers tagged

1 vote

How are transaction hashes calculated?

I've come across this several times when trying to come up with an easy way to calculate a txid, and I finally decided to try and write a little script to do the same. I used built-in libraries and ...
rpseu's user avatar
  • 111
-2 votes

Computing HASH160 of a Taproot X-only 32 byte Public Key

I'm not 100% sure about it, but if taproot output XOnlyPublicKey is not tweaked, and if you try to compare with existing p2wpkh output which uses the same public key, you should try both 0x02 or 0x03 ...
Hyunhum's user avatar
  • 26
0 votes

How to calculate Merkle Root? Need to reverse?

Don't know if you stll need this info, but: If you get tx.ids from the RPC (node) than you have to reverse those. When you create the coinbase and double sha256 it you MUST NOT reverse it. So, when ...
4ss0's user avatar
  • 1

Top 50 recent answers are included