How do I get hash to verify transaction?

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, not how to build it.

My question is basically this one

How to verify the signature of a raw transaction

But the answer given I think is for getting the Transaction ID hash which I have tried and it doesn't work.

https://ift.tt/2GDUVuY

Comments

Popular posts from this blog

Bitcoin Core errors with database block

Bitfinex & Market Synergy To Offer Institutional Calibre Cryptocurrency Connectivity