aboutsummaryrefslogtreecommitdiffstats
path: root/core/vm/environment.go
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2016-09-26 16:20:47 +0800
committerGitHub <noreply@github.com>2016-09-26 16:20:47 +0800
commit2e14aff80f294a34f6b28f0149b94fa7b9d3bf81 (patch)
tree17d1f3abefabfd7f8cb9149994a4788d2c0f08bc /core/vm/environment.go
parente859f3696783ec75d9bb39c0c66eda3a88cea8c6 (diff)
parenta59a93f476434f2805c8fd3e10bf1b2f579b078f (diff)
downloadgo-tangerine-2e14aff80f294a34f6b28f0149b94fa7b9d3bf81.tar
go-tangerine-2e14aff80f294a34f6b28f0149b94fa7b9d3bf81.tar.gz
go-tangerine-2e14aff80f294a34f6b28f0149b94fa7b9d3bf81.tar.bz2
go-tangerine-2e14aff80f294a34f6b28f0149b94fa7b9d3bf81.tar.lz
go-tangerine-2e14aff80f294a34f6b28f0149b94fa7b9d3bf81.tar.xz
go-tangerine-2e14aff80f294a34f6b28f0149b94fa7b9d3bf81.tar.zst
go-tangerine-2e14aff80f294a34f6b28f0149b94fa7b9d3bf81.zip
Merge pull request #3037 from karalabe/state-caching
State caching
Diffstat (limited to 'core/vm/environment.go')
-rw-r--r--core/vm/environment.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/vm/environment.go b/core/vm/environment.go
index 747627565..4bd03de7e 100644
--- a/core/vm/environment.go
+++ b/core/vm/environment.go
@@ -94,6 +94,7 @@ type Database interface {
GetNonce(common.Address) uint64
SetNonce(common.Address, uint64)
+ GetCodeSize(common.Address) int
GetCode(common.Address) []byte
SetCode(common.Address, []byte)