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
types
README.md -rw-r--r-- 237 bytes
byzantine_test.go -rw-r--r-- 8.1 KB
common_test.go -rw-r--r-- 21.8 KB
mempool_test.go -rw-r--r-- 7.4 KB
metrics.go -rw-r--r-- 5.5 KB
reactor.go -rw-r--r-- 48.5 KB
reactor_test.go -rw-r--r-- 20.5 KB
replay.go -rw-r--r-- 15.9 KB
replay_file.go -rw-r--r-- 8.8 KB
replay_test.go -rw-r--r-- 19.8 KB
state.go -rw-r--r-- 59.3 KB
state_test.go -rw-r--r-- 51.7 KB
ticker.go -rw-r--r-- 3.8 KB
wal.go -rw-r--r-- 9.0 KB
wal_fuzz.go -rw-r--r-- 420 bytes
wal_generator.go -rw-r--r-- 6.8 KB
wal_test.go -rw-r--r-- 4.7 KB
wire.go -rw-r--r-- 240 bytes

README.md

back to top