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
README.md -rw-r--r-- 231 bytes
compile.sh -rw-r--r-- 311 bytes
doc.go -rw-r--r-- 1.1 KB
merkle.pb.go -rw-r--r-- 18.0 KB
merkle.proto -rw-r--r-- 834 bytes
proof.go -rw-r--r-- 4.0 KB
proof_key_path.go -rw-r--r-- 3.0 KB
proof_key_path_test.go -rw-r--r-- 810 bytes
proof_simple_value.go -rw-r--r-- 2.4 KB
proof_test.go -rw-r--r-- 3.6 KB
simple_map.go -rw-r--r-- 2.0 KB
simple_map_test.go -rw-r--r-- 1.3 KB
simple_proof.go -rw-r--r-- 6.1 KB
simple_tree.go -rw-r--r-- 1.1 KB
simple_tree_test.go -rw-r--r-- 2.0 KB
types.go -rw-r--r-- 1015 bytes
wire.go -rw-r--r-- 136 bytes

README.md

back to top