diff options
author | Wei-Ning Huang <w@dexon.org> | 2018-10-20 17:26:32 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@dexon.org> | 2019-03-12 12:19:09 +0800 |
commit | 1901a79cc82a0829c62d446d1cc3e16005240b7a (patch) | |
tree | e4327424a5d5d8b57e835b3331b943c4d5c9124a /core | |
parent | 174b8c3bc1202de027b62fb1d995df3c69bdb254 (diff) | |
download | dexon-1901a79cc82a0829c62d446d1cc3e16005240b7a.tar.gz dexon-1901a79cc82a0829c62d446d1cc3e16005240b7a.tar.zst dexon-1901a79cc82a0829c62d446d1cc3e16005240b7a.zip |
core: included Dexcon metadata in block
Diffstat (limited to 'core')
-rw-r--r-- | core/types/block.go | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/core/types/block.go b/core/types/block.go index f2fe446bf..652f33aa1 100644 --- a/core/types/block.go +++ b/core/types/block.go @@ -88,8 +88,9 @@ type Header struct { Randomness []byte `json:"randomness" gencodec:"required"` Position coreTypes.Position `json:"position" gencodec:"required"` WitnessHeight uint64 `json:"witnessHeight" gencodec:"required"` - WitnessRoot common.Hash `json:"WitnessRoot" gencodec:"required"` - WitnessReceiptHash common.Hash `json:"WitnessReceiptHash" gencodec:"required"` + WitnessRoot common.Hash `json:"witnessRoot" gencodec:"required"` + WitnessReceiptHash common.Hash `json:"witnessReceiptHash" gencodec:"required"` + DexconMeta []byte `json:"dexconMeta" gencodec:"required"` ChainID uint32 `json:"chainID" gencodec:"required"` ChainBlockHeight uint64 `json:"chainBlockHeight" gencodec:"required"` } |