You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This changeset validates state at startup, switching the
assumption from state being valid to state being invalid.
Further, once state transfer completes, the replica will
now broadcast a checkpoint for the state it transferred to.
https://jira.hyperledger.org/browse/FAB-379
Change-Id: I491451f4829f14c9167ceed5d29befe3a3b08521
Signed-off-by: Jason Yellick <[email protected]>
valid: true, // Assume our state is consistent until we are told otherwise, TODO: revisit
56
+
valid: true, // Assume our state is consistent until we are told otherwise, actual consensus (pbft) will invalidate this immediately, but noops will not
h.executor.Start() // The consenter may be expecting a callback from the executor because of state transfer completing, it will miss this if we start the executor too early
66
66
}
67
67
68
68
// GetNetworkInfo returns the PeerEndpoints of the current validator and the entire validating network
panic(fmt.Sprintf("Asked to skip to a block (%d) which is lower than our current height of %d. (Corrupt block at %d with hash %x)", info.Height, mock.blockHeight, blockCursor, validHash))
0 commit comments