Uses of Class
io.horizen.evm.Hash
-
Packages that use Hash Package Description io.horizen.evm io.horizen.evm.params io.horizen.evm.results -
-
Uses of Hash in io.horizen.evm
Fields in io.horizen.evm declared as Hash Modifier and Type Field Description static HashStateDB. EMPTY_CODE_HASHCode hash of an empty byte arraystatic HashStateDB. EMPTY_ROOT_HASHTrieHasher.Root() of an empty byte arrayHashEvmContext. randomstatic HashHash. ZEROZero hash: 0x0000000000000000000000000000000000000000000000000000000000000000Methods in io.horizen.evm that return Hash Modifier and Type Method Description HashStateDB. commit()Commit any pending changes.HashHash.Deserializer. deserialize(com.fasterxml.jackson.core.JsonParser jsonParser, com.fasterxml.jackson.databind.DeserializationContext deserializationContext)protected abstract HashBlockHashCallback. getBlockHash(BigInteger blockNumber)HashStateDB. getCodeHash(Address address)Get account code hash.HashStateDB. getCommittedStorage(Address address, Hash key)Read committed storage trie of given account.HashStateDB. getIntermediateRoot()Get current state root hash including any currently pending changes, but without committing.HashStateDB. getStorage(Address address, Hash key)Read storage trie of given account.static HashTrieHasher. Root(byte[][] values)Methods in io.horizen.evm with parameters of type Hash Modifier and Type Method Description booleanStateDB. accessSlot(Address address, Hash slot)Add given account storage slot to the access list.HashStateDB. getCommittedStorage(Address address, Hash key)Read committed storage trie of given account.EvmLog[]StateDB. getLogs(Hash txHash)Get log entries created during the execution of given transaction.ProofAccountResultStateDB. getProof(Address address, Hash root, Hash[] storageKeys)Get the Merkle-proof for a given account and optionally some storage keys.HashStateDB. getStorage(Address address, Hash key)Read storage trie of given account.voidHash.Serializer. serialize(Hash hash, com.fasterxml.jackson.core.JsonGenerator jsonGenerator, com.fasterxml.jackson.databind.SerializerProvider serializerProvider)voidStateDB. setStorage(Address address, Hash key, Hash value)Write to storage trie of given account.voidStateDB. setTxContext(Hash txHash, int txIndex)Set tx context, used when the EVM emits new state logs.Constructors in io.horizen.evm with parameters of type Hash Constructor Description EvmContext(BigInteger chainID, Address coinbase, BigInteger gasLimit, BigInteger gasPrice, BigInteger blockNumber, BigInteger time, BigInteger baseFee, Hash random, ForkRules rules)StateDB(Database db, Hash root)Opens a view on the state at the given state root hash. -
Uses of Hash in io.horizen.evm.params
Fields in io.horizen.evm.params declared as Hash Modifier and Type Field Description HashStorageParams. keyHashOpenStateParams. rootHashProofParams. rootHashSlotParams. slotHash[]ProofParams. storageKeysHashGetLogsParams. txHashHashSetTxContextParams. txHashHashSetStorageParams. valueConstructors in io.horizen.evm.params with parameters of type Hash Constructor Description GetLogsParams(int handle, Hash txHash)OpenStateParams(int databaseHandle, Hash root)ProofParams(int handle, Address address, Hash root, Hash[] storageKeys)SetStorageParams(int handle, Address address, Hash key, Hash value)SetTxContextParams(int handle, Hash txHash, Integer txIndex)SlotParams(int handle, Address address, Hash slot)StorageParams(int handle, Address address, Hash key) -
Uses of Hash in io.horizen.evm.results
Fields in io.horizen.evm.results declared as Hash Modifier and Type Field Description HashProofAccountResult. codeHashHashProofAccountResult. storageHashHash[]EvmLog. topicsConstructors in io.horizen.evm.results with parameters of type Hash Constructor Description EvmLog(Address address, Hash[] topics, byte[] data)ProofAccountResult(Address address, String[] accountProof, BigInteger balance, Hash codeHash, BigInteger nonce, Hash storageHash, ProofAccountResult.ProofStorageResult[] storageProof)
-