Anton Kaliaev 7 years ago
parent
commit
cca1dd8e3e
No known key found for this signature in database GPG Key ID: 7B6881D965918214
1 changed files with 0 additions and 3 deletions
  1. +0
    -3
      consensus/types/state.go

+ 0
- 3
consensus/types/state.go View File

@ -52,9 +52,6 @@ func (rs RoundStepType) String() string {
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------
// RoundState defines the internal consensus state. // RoundState defines the internal consensus state.
// It should be immutable when returned from ConsensusState.GetRoundState(), but it's not.
// TODO: Actually, only the top pointer is copied,
// so access to field pointers is still racey
// NOTE: Not thread safe. Should only be manipulated by functions downstream // NOTE: Not thread safe. Should only be manipulated by functions downstream
// of the cs.receiveRoutine // of the cs.receiveRoutine
type RoundState struct { type RoundState struct {


Loading…
Cancel
Save