2

In the industry txid is known as "transaction hash". Why wasn't the "hash" field called "wtxid"?

1 Answer 1

2

The idea is that it is returning the hash of the entire transaction data. Currently, that is always identical to the wtxid.

But in a hypothetical future, where more data may get added to transaction serializations, in addition to the base data (covered by txid) and witness data, hash would change to always cover everything.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.