diff options
author | Wei-Ning Huang <w@dexon.org> | 2018-10-20 17:26:32 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@byzantine-lab.io> | 2019-06-12 17:27:16 +0800 |
commit | 5f1b306988f331695de76d4a1e6ff1ad26d83649 (patch) | |
tree | 0a4e061023a52ff791b632b2f6a19955b823f545 /core | |
parent | 85d795d9314ef80d667c17318342515ea4798dec (diff) | |
download | go-tangerine-5f1b306988f331695de76d4a1e6ff1ad26d83649.tar go-tangerine-5f1b306988f331695de76d4a1e6ff1ad26d83649.tar.gz go-tangerine-5f1b306988f331695de76d4a1e6ff1ad26d83649.tar.bz2 go-tangerine-5f1b306988f331695de76d4a1e6ff1ad26d83649.tar.lz go-tangerine-5f1b306988f331695de76d4a1e6ff1ad26d83649.tar.xz go-tangerine-5f1b306988f331695de76d4a1e6ff1ad26d83649.tar.zst go-tangerine-5f1b306988f331695de76d4a1e6ff1ad26d83649.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 02d52f30f..b51cea811 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"` } |