aboutsummaryrefslogtreecommitdiffstats
path: root/core/vm_env.go
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2016-06-29 16:44:29 +0800
committerPéter Szilágyi <peterke@gmail.com>2016-06-29 16:44:29 +0800
commit67e9d3348679d87cca127de4da8eb4223c43aae2 (patch)
treec20eb3ea801347e6d4c67ab4aca16f0d4a5b25a7 /core/vm_env.go
parent219859f8bbfa3a1549d02f6bcbaa41db55b4b8fe (diff)
downloaddexon-67e9d3348679d87cca127de4da8eb4223c43aae2.tar.gz
dexon-67e9d3348679d87cca127de4da8eb4223c43aae2.tar.zst
dexon-67e9d3348679d87cca127de4da8eb4223c43aae2.zip
Revert "core: update DAO soft-fork number, clean up the code"
This reverts commit ba784bdf36f2daf7827ec1ec864f3393ba8d86a0.
Diffstat (limited to 'core/vm_env.go')
-rw-r--r--core/vm_env.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/vm_env.go b/core/vm_env.go
index a034c428e..4692c14c4 100644
--- a/core/vm_env.go
+++ b/core/vm_env.go
@@ -25,6 +25,10 @@ import (
"github.com/ethereum/go-ethereum/core/vm"
)
+// BlockedCodeHashes is a set of EVM code hashes that this node should block
+// sending funds from.
+var BlockedCodeHashes map[common.Hash]struct{}
+
// GetHashFn returns a function for which the VM env can query block hashes through
// up to the limit defined by the Yellow Paper and uses the given block chain
// to query for information.