diff options
author | Sonic <sonic@dexon.org> | 2018-11-09 17:24:54 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@dexon.org> | 2019-04-09 21:32:53 +0800 |
commit | db18632dd211238fadcdec0fab643698be534b62 (patch) | |
tree | 71f1c886125c0e57b274272500a037085a1d6aff /core/types | |
parent | a31ae3fde50d3402e838483c985dbe50d753b48c (diff) | |
download | dexon-db18632dd211238fadcdec0fab643698be534b62.tar dexon-db18632dd211238fadcdec0fab643698be534b62.tar.gz dexon-db18632dd211238fadcdec0fab643698be534b62.tar.bz2 dexon-db18632dd211238fadcdec0fab643698be534b62.tar.lz dexon-db18632dd211238fadcdec0fab643698be534b62.tar.xz dexon-db18632dd211238fadcdec0fab643698be534b62.tar.zst dexon-db18632dd211238fadcdec0fab643698be534b62.zip |
core: support extracting governance state from state trie
Diffstat (limited to 'core/types')
-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 +} |