mirror of
https://github.com/tendermint/tendermint.git
synced 2026-01-07 13:55:17 +00:00
Add ResultHash to header
This commit is contained in:
committed by
Ethan Buchman
parent
632cc918b4
commit
58c5df729b
@@ -79,8 +79,9 @@ type State struct {
|
||||
LastHeightConsensusParamsChanged int64
|
||||
|
||||
// Store LastABCIResults along with hash
|
||||
LastResults ABCIResults // TODO: remove??
|
||||
LastResultHash []byte
|
||||
LastResults ABCIResults // TODO: remove??
|
||||
LastResultHash []byte // this is the one for the next block to propose
|
||||
LastLastResultHash []byte // this verifies the last block?
|
||||
|
||||
// The latest AppHash we've received from calling abci.Commit()
|
||||
AppHash []byte
|
||||
@@ -156,6 +157,9 @@ func (s *State) Copy() *State {
|
||||
|
||||
AppHash: s.AppHash,
|
||||
|
||||
LastResults: s.LastResults,
|
||||
LastResultHash: s.LastResultHash,
|
||||
|
||||
logger: s.logger,
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user