Skip to content

Commit

Permalink
Put terminate witness in serialize/deserialize/status
Browse files Browse the repository at this point in the history
  • Loading branch information
Vagabond committed Sep 4, 2018
1 parent cf0cf02 commit e69c757
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/hbbft_bba.erl
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ status(BBAData) ->
conf_witness => BBAData#bba_data.conf_witness,
aux_witness => BBAData#bba_data.aux_witness,
bval_witness => BBAData#bba_data.bval_witness,
term_witness => BBAData#bba_data.terminate_witness,
bin_values => BBAData#bba_data.bin_values,
broadcasted => BBAData#bba_data.broadcasted
}.
Expand Down Expand Up @@ -200,6 +201,7 @@ serialize(#bba_data{state=State,
bval_witness=Witness,
aux_witness=AuxWitness,
conf_witness=ConfWitness,
terminate_witness=TermWitness,
aux_sent=AuxSent,
conf_sent=ConfSent,
broadcasted=Broadcasted,
Expand All @@ -218,6 +220,7 @@ serialize(#bba_data{state=State,
bval_witness=Witness,
aux_witness=AuxWitness,
conf_witness=ConfWitness,
terminate_witness=TermWitness,
aux_sent=AuxSent,
conf_sent=ConfSent,
broadcasted=Broadcasted,
Expand All @@ -234,6 +237,7 @@ deserialize(#bba_serialized_data{state=State,
bval_witness=Witness,
aux_witness=AuxWitness,
conf_witness=ConfWitness,
terminate_witness=TermWitness,
aux_sent=AuxSent,
conf_sent=ConfSent,
broadcasted=Broadcasted,
Expand All @@ -253,6 +257,7 @@ deserialize(#bba_serialized_data{state=State,
bval_witness=Witness,
aux_witness=AuxWitness,
conf_witness=ConfWitness,
terminate_witness=TermWitness,
aux_sent=AuxSent,
conf_sent=ConfSent,
broadcasted=Broadcasted,
Expand Down

0 comments on commit e69c757

Please sign in to comment.