diff options
author | Wei-Ning Huang <w@dexon.org> | 2018-11-16 17:26:50 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@byzantine-lab.io> | 2019-06-12 17:27:18 +0800 |
commit | fd188f89845ea16c40c2b6af2ffa67b0f445b854 (patch) | |
tree | 9db6403388483324e6e7916fae3f8c2249f3ffdc /core/vm/interpreter.go | |
parent | 652ec743c6e05a94212745daec4c10565e57524b (diff) | |
download | go-tangerine-fd188f89845ea16c40c2b6af2ffa67b0f445b854.tar go-tangerine-fd188f89845ea16c40c2b6af2ffa67b0f445b854.tar.gz go-tangerine-fd188f89845ea16c40c2b6af2ffa67b0f445b854.tar.bz2 go-tangerine-fd188f89845ea16c40c2b6af2ffa67b0f445b854.tar.lz go-tangerine-fd188f89845ea16c40c2b6af2ffa67b0f445b854.tar.xz go-tangerine-fd188f89845ea16c40c2b6af2ffa67b0f445b854.tar.zst go-tangerine-fd188f89845ea16c40c2b6af2ffa67b0f445b854.zip |
core: fix light node synchronization issue (#30)
InsertChain() need to record the correct roundHeight mapping in order to
process snapshotRoundHeight() governance method correctly.
Diffstat (limited to 'core/vm/interpreter.go')
-rw-r--r-- | core/vm/interpreter.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/core/vm/interpreter.go b/core/vm/interpreter.go index b5e35f1a4..ffe5ff626 100644 --- a/core/vm/interpreter.go +++ b/core/vm/interpreter.go @@ -46,6 +46,9 @@ type Config struct { EWASMInterpreter string // Type of the EVM interpreter EVMInterpreter string + + // Whether or not we are a block proposer. + IsBlockProposer bool } // Interpreter is used to run Ethereum based contracts and will utilise the |