diff options
author | Mission Liao <mission.liao@dexon.org> | 2018-11-20 13:57:24 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-20 13:57:24 +0800 |
commit | 6d95559bf7eb62e6c114ca4d4040c44ffd553629 (patch) | |
tree | 5c62252e4cfe59c318ef3bb67b6c55891a58a4d3 /core/types | |
parent | e5891f7ca08737c3f3bc37fd523537cb243f8b0d (diff) | |
download | dexon-consensus-6d95559bf7eb62e6c114ca4d4040c44ffd553629.tar dexon-consensus-6d95559bf7eb62e6c114ca4d4040c44ffd553629.tar.gz dexon-consensus-6d95559bf7eb62e6c114ca4d4040c44ffd553629.tar.bz2 dexon-consensus-6d95559bf7eb62e6c114ca4d4040c44ffd553629.tar.lz dexon-consensus-6d95559bf7eb62e6c114ca4d4040c44ffd553629.tar.xz dexon-consensus-6d95559bf7eb62e6c114ca4d4040c44ffd553629.tar.zst dexon-consensus-6d95559bf7eb62e6c114ca4d4040c44ffd553629.zip |
core: support NumChains change for BA modules (#339)
Diffstat (limited to 'core/types')
-rw-r--r-- | core/types/block-randomness.go | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/core/types/block-randomness.go b/core/types/block-randomness.go index 6df245b..1c64d4a 100644 --- a/core/types/block-randomness.go +++ b/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 { |