diff options
author | Sonic <sonic@dexon.org> | 2018-11-09 17:24:54 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@byzantine-lab.io> | 2019-06-12 17:27:18 +0800 |
commit | 638816ae9be2dab6f48a367689563121c85d7786 (patch) | |
tree | bb0179cf42b998e5aea51f66fd9f80e7c33bec20 /core/types/govstate.go | |
parent | 5aaccf466773e60c93ab150d89abd950bd43ca28 (diff) | |
download | go-tangerine-638816ae9be2dab6f48a367689563121c85d7786.tar.gz go-tangerine-638816ae9be2dab6f48a367689563121c85d7786.tar.zst go-tangerine-638816ae9be2dab6f48a367689563121c85d7786.zip |
core: support extracting governance state from state trie
Diffstat (limited to 'core/types/govstate.go')
-rw-r--r-- | core/types/govstate.go | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/core/types/govstate.go b/core/types/govstate.go new file mode 100644 index 000000000..75f77cb0d --- /dev/null +++ b/core/types/govstate.go @@ -0,0 +1,15 @@ +package types + +import ( + "math/big" + + "github.com/dexon-foundation/dexon/common" +) + +type GovState struct { + BlockHash common.Hash + Number *big.Int + Root common.Hash + Proof [][]byte + Storage [][2][]byte +} |