Add 'witnesses' to machi_projection:make_summary()
This commit is contained in:
parent
6e521700bd
commit
aa1a31982a
1 changed files with 2 additions and 0 deletions
|
@ -149,6 +149,7 @@ get_epoch_id(#projection_v1{epoch_number=Epoch, epoch_csum=CSum}) ->
|
||||||
make_summary(#projection_v1{epoch_number=EpochNum,
|
make_summary(#projection_v1{epoch_number=EpochNum,
|
||||||
epoch_csum= <<_CSum4:4/binary, _/binary>>=_CSum,
|
epoch_csum= <<_CSum4:4/binary, _/binary>>=_CSum,
|
||||||
all_members=_All_list,
|
all_members=_All_list,
|
||||||
|
witnesses=Witness_list,
|
||||||
down=Down_list,
|
down=Down_list,
|
||||||
author_server=Author,
|
author_server=Author,
|
||||||
upi=UPI_list,
|
upi=UPI_list,
|
||||||
|
@ -162,6 +163,7 @@ make_summary(#projection_v1{epoch_number=EpochNum,
|
||||||
[]
|
[]
|
||||||
end,
|
end,
|
||||||
[{epoch,EpochNum},{author,Author},
|
[{epoch,EpochNum},{author,Author},
|
||||||
|
{witnesses, Witness_list},
|
||||||
{upi,UPI_list},{repair,Repairing_list},{down,Down_list}] ++
|
{upi,UPI_list},{repair,Repairing_list},{down,Down_list}] ++
|
||||||
InnerInfo ++
|
InnerInfo ++
|
||||||
[{flap, Flap}] ++
|
[{flap, Flap}] ++
|
||||||
|
|
Loading…
Reference in a new issue