aboutsummaryrefslogblamecommitdiffstats
path: root/core/types/govstate.go
blob: 2c3dff93360eaf9472a11b8f2e087a350d69d374 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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
}

type HeaderWithGovState struct {
    *Header
    GovState *GovState `rlp:"nil"`
}