BlockchainReactor syncs first before ConsensusReactor.

This commit is contained in:
Jae Kwon
2015-03-25 11:33:39 -07:00
parent aed4bbf0f0
commit cebfae60c7
9 changed files with 232 additions and 116 deletions

View File

@@ -29,6 +29,8 @@ const (
//-----------------------------------------------------------------------------
// The reactor's underlying ConsensusState may change state at any time.
// We atomically copy the RoundState struct before using it.
type ConsensusReactor struct {
sw *p2p.Switch
started uint32