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
armor
ed25519
encoding
internal
merkle
multisig
secp256k1
tmhash
xchacha20poly1305
xsalsa20symmetric
CHANGELOG.md -rw-r--r-- 4.0 KB
README.md -rw-r--r-- 1.2 KB
crypto.go -rw-r--r-- 955 bytes
doc.go -rw-r--r-- 1.1 KB
example_test.go -rw-r--r-- 1.0 KB
hash.go -rw-r--r-- 340 bytes
random.go -rw-r--r-- 3.8 KB
random_test.go -rw-r--r-- 537 bytes
version.go -rw-r--r-- 44 bytes

README.md

back to top