Revision f82a8ff73a6352355c2f10809a1cce1b23349d20 authored by JamesRay on 15 December 2018, 19:33:30 UTC, committed by Ethan Buchman on 15 December 2018, 19:33:30 UTC
* optimize addProposalBlockPart

* optimize addProposalBlockPart

* if ProposalBlockParts and LockedBlockParts both exist,let LockedBlockParts overwrite ProposalBlockParts.

* fix tryAddBlock

* broadcast lockedBlockParts in higher priority

* when appHeight==0, it's better fetch genDoc than state.validators.

* not save state if replay from height 1

* only save state if replay from height 1 when stateHeight is also 1

* only save state if replay from height 1 when stateHeight is also 1

* only save state if replay from height 0 when stateHeight is also 0

* handshake info's response version only update when stateHeight==0

* save the handshake responseInfo appVersion
1 parent ae275d7
History
File Mode Size
height_vote_set.go -rw-r--r-- 7.4 KB
height_vote_set_test.go -rw-r--r-- 1.9 KB
peer_round_state.go -rw-r--r-- 3.7 KB
round_state.go -rw-r--r-- 7.9 KB
round_state_test.go -rw-r--r-- 2.2 KB
wire.go -rw-r--r-- 184 bytes

back to top