You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With ZIP-244, the transaction ID is no longer simply the hash of the transaction bytes (though it's still a hash...)
For this reason, it could be better to rename the hash() method to id() or txid() to make this clearer.
It may also be nice to:
Rename transaction::Hash too.
Refactor txid.rs. Should it be incorporated into Transaction, since it's relatively small? See discussion
Motivation
With ZIP-244, the transaction ID is no longer simply the hash of the transaction bytes (though it's still a hash...)
For this reason, it could be better to rename the
hash()
method toid()
ortxid()
to make this clearer.It may also be nice to:
transaction::Hash
too.txid.rs
. Should it be incorporated intoTransaction
, since it's relatively small? See discussionSpecifications
N/A
Designs
N/A
Related Work
Follow up to #2129
The text was updated successfully, but these errors were encountered: