Skip to content

Commit

Permalink
md: Update diagram
Browse files Browse the repository at this point in the history
  • Loading branch information
real-or-random committed Jul 4, 2024
1 parent aa00527 commit a37e7b3
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 16 deletions.
13 changes: 9 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -486,7 +486,15 @@ In that case, the successful participants can eventually make the stuck particip
by presenting them the recovery data.
The recovery data can, e.g., be attached to the first request to initiate a FROST signing session.
### Steps of a ChillDKG Session
### Overview of a ChillDKG Session
TODO Write
![chilldkg diagram](images/chilldkg-sequence.png)
### API Documentation
TODO Write
<!--pydoc.md-->
#### hostpubkey
Expand Down Expand Up @@ -791,9 +799,6 @@ a second device.
data or recovery data that does not match the provided seed.
<!--end of pydoc.md-->

TODO Fix diagram
![chilldkg diagram](images/chilldkg-sequence.png)

### Backup and Recovery

Losing the secret share or the threshold public key will render the participant incapable of participating in signing sessions.
Expand Down
Binary file modified images/chilldkg-sequence.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
28 changes: 16 additions & 12 deletions images/chilldkg-sequence.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,20 @@ title ChillDKG
participant Participant
participant Coordinator

rnote over Participant: chilldkg_hostpubkey
Participant->Coordinator : my_hostpubkey
Coordinator->Participant : hostpubkeys
rnote over Participant: chilldkg_setup_id
note across: Compare setup_id with other participants out-of-band
group Generation of host public keys
rnote over Participant: hostpubkey(seed)
Participant->Coordinator: hostpubkey
end

rnote over Participant: chilldkg_round1
Participant->Coordinator : vss_commitment_ext, enc_gen_shares
Coordinator->Participant : vss_commitments_sum, all_enc_shares_sum
rnote over Participant: chilldkg_round2
Participant->Coordinator : eq_round1
Coordinator->Participant : cert
rnote over Participant: chilldkg_finalize
group Session
Coordinator->Participant: hostpubkeys, t
rnote over Participant: partcipant_step1(...)
Participant->Coordinator: pmsg1
rnote over Coordinator: coordinator_step(...)
Coordinator->Participant: cmsg1
rnote over Participant: partcipant_step2(...)
Participant->Coordinator: pmsg2
rnote over Coordinator: coordinator_finalize(...)
Coordinator->Participant: cmsg2
rnote over Participant: participant_finalize(...)
end

0 comments on commit a37e7b3

Please sign in to comment.