diff options
author | Jimmy Hu <jimmy.hu@dexon.org> | 2018-11-27 10:13:05 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@byzantine-lab.io> | 2019-06-12 17:27:19 +0800 |
commit | 4c520e06a04c0b734dcc703dd007bb89cfb15a9d (patch) | |
tree | 77b471cb9a9db4df532df82de300fb796576e950 /vendor/github.com/dexon-foundation/dexon-consensus/core/types | |
parent | 2b4a537e21e3c2d0e3f31dec6cea60e31125db66 (diff) | |
download | go-tangerine-4c520e06a04c0b734dcc703dd007bb89cfb15a9d.tar.gz go-tangerine-4c520e06a04c0b734dcc703dd007bb89cfb15a9d.tar.zst go-tangerine-4c520e06a04c0b734dcc703dd007bb89cfb15a9d.zip |
vendor: sync to latest core (#52)
Diffstat (limited to 'vendor/github.com/dexon-foundation/dexon-consensus/core/types')
-rw-r--r-- | vendor/github.com/dexon-foundation/dexon-consensus/core/types/block-randomness.go | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/vendor/github.com/dexon-foundation/dexon-consensus/core/types/block-randomness.go b/vendor/github.com/dexon-foundation/dexon-consensus/core/types/block-randomness.go index 6df245b08..1c64d4ad9 100644 --- a/vendor/github.com/dexon-foundation/dexon-consensus/core/types/block-randomness.go +++ b/vendor/github.com/dexon-foundation/dexon-consensus/core/types/block-randomness.go @@ -25,9 +25,10 @@ import ( // AgreementResult describes an agremeent result. type AgreementResult struct { - BlockHash common.Hash `json:"block_hash"` - Position Position `json:"position"` - Votes []Vote `json:"votes"` + BlockHash common.Hash `json:"block_hash"` + Position Position `json:"position"` + Votes []Vote `json:"votes"` + IsEmptyBlock bool `json:"is_empty_block"` } func (r *AgreementResult) String() string { |