is not useable, why not hide it to prevent fat fingers?
The account hash is an identifier and helps you when using smart contracts.
How this thing can do help when using smart contract?
Well it just helps you identify data easier when looking at transactions.
AFAIK the Account Hash is used internally for everything. Why? Easy: Right now Casper supports 2 key types but it is prepared to support more -> current public keys start with 01 or 02 but in the future there could also be 03, 04 and so on. So instead of adding logic in multiple places to handle all future key types the public key gets hashed with the blake2 hashing algorithm (check the docs/source for the exact one). The hash is always in the same format and makes it easier to be used. So it is some kind of abstraction to make the Casper blockchain future-proof in case new key types will be added. Docs: https://docs.casper.network/concepts/design/casper-design/#accounts-head
Обсуждают сегодня