dc4bc/fsm/types/responses/signature_proposal.go

26 lines
715 B
Go
Raw Normal View History

2020-07-29 14:49:41 -07:00
package responses
// Response
2020-07-29 14:49:41 -07:00
2020-08-11 09:46:18 -07:00
// Event: "event_sig_proposal_init"
// States: "__idle"
2020-08-06 17:20:13 -07:00
type SignatureProposalParticipantInvitationsResponse []*SignatureProposalParticipantInvitationEntry
type SignatureProposalParticipantInvitationEntry struct {
ParticipantId int
2020-07-29 14:49:41 -07:00
// Public title for address, such as name, nickname, organization
2020-08-19 06:47:38 -07:00
Addr string
2020-07-29 14:49:41 -07:00
}
2020-08-06 17:20:13 -07:00
// Public lists for proposal confirmation process
// States: "validation_canceled_by_participant", "validation_canceled_by_timeout",
type SignatureProposalParticipantStatusResponse []*SignatureProposalParticipantStatusEntry
type SignatureProposalParticipantStatusEntry struct {
2020-08-13 08:22:06 -07:00
ParticipantId int
2020-08-19 06:47:38 -07:00
Addr string
2020-08-13 08:22:06 -07:00
Status uint8
2020-08-21 09:25:09 -07:00
DkgPubKey []byte
2020-08-06 17:20:13 -07:00
}