mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 02:12:23 +00:00
Update evm.go
This commit is contained in:
parent
268fd63e3e
commit
30ed76a643
1 changed files with 4 additions and 0 deletions
|
|
@ -38,6 +38,10 @@ type (
|
||||||
// GetHashFunc returns the n'th block hash in the blockchain
|
// GetHashFunc returns the n'th block hash in the blockchain
|
||||||
// and is used by the BLOCKHASH EVM op code.
|
// and is used by the BLOCKHASH EVM op code.
|
||||||
GetHashFunc func(uint64) common.Hash
|
GetHashFunc func(uint64) common.Hash
|
||||||
|
// SYSCOIN
|
||||||
|
ReadSYSHashFunc func(uint64) []byte
|
||||||
|
ReadDataHashFunc func(common.Hash) []byte
|
||||||
|
GetNEVMAddressFunc func(common.Address) []byte
|
||||||
)
|
)
|
||||||
|
|
||||||
func (evm *EVM) precompile(addr common.Address) (PrecompiledContract, bool) {
|
func (evm *EVM) precompile(addr common.Address) (PrecompiledContract, bool) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue