Closed rbrunner7 closed 2 years ago
I prefer 'transaction id' if I have to choose, but I also like 'tx hash' because it reinforces that it is a hash of the entire tx.
"Transaction id" is pretty much settled on in the cryptosphere. I like the shortened version--txid--as it would be widely understood by neophytes.
I support the use of id. I think what it actually is under the hood is better kept abstracted away from its name.
Seen as decided (we use id in Seraphis wallet coding) after discussion in the first workgroup meeting
As we well know the Monero codebase uses a hash over the bytes of a transaction as the "thing" that is used to uniquely identify the transaction.
Variables and parameters that hold this are not consistently named. It's a race between
id
and variants like e.g.txid
on the one side andhash
,tx_hash
,h
or similar on the other side.I would be glad if we could agree and standardize on one or the other for the Seraphis wallet.
Personally I currently lean towards
id
. I think a sematic name that tells what something is beats a name that tells in a very technical way how it was calculated and relies on my knowledge that hashes serve to identify transactions.