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
conn
dummy
pex
trust
upnp
README.md -rw-r--r-- 840 bytes
base_reactor.go -rw-r--r-- 1.4 KB
conn_set.go -rw-r--r-- 1.1 KB
errors.go -rw-r--r-- 3.9 KB
fuzz.go -rw-r--r-- 3.8 KB
key.go -rw-r--r-- 3.1 KB
key_test.go -rw-r--r-- 1.1 KB
metrics.go -rw-r--r-- 2.3 KB
netaddress.go -rw-r--r-- 9.7 KB
netaddress_test.go -rw-r--r-- 4.6 KB
node_info.go -rw-r--r-- 7.8 KB
node_info_test.go -rw-r--r-- 4.4 KB
peer.go -rw-r--r-- 8.5 KB
peer_set.go -rw-r--r-- 3.3 KB
peer_set_test.go -rw-r--r-- 5.1 KB
peer_test.go -rw-r--r-- 4.9 KB
switch.go -rw-r--r-- 18.6 KB
switch_test.go -rw-r--r-- 13.3 KB
test_util.go -rw-r--r-- 6.3 KB
transport.go -rw-r--r-- 11.4 KB
transport_test.go -rw-r--r-- 11.8 KB
types.go -rw-r--r-- 164 bytes
wire.go -rw-r--r-- 205 bytes

README.md

back to top