responses

package
v0.0.0-...-ee95d54 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 12, 2023 License: GPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DKGProposalCommitParticipantEntry

type DKGProposalCommitParticipantEntry struct {
	ParticipantId int
	Username      string
	DkgCommit     []byte
}

type DKGProposalCommitParticipantResponse

type DKGProposalCommitParticipantResponse []*DKGProposalCommitParticipantEntry

type DKGProposalDealParticipantEntry

type DKGProposalDealParticipantEntry struct {
	ParticipantId int
	Username      string
	DkgDeal       []byte
}

type DKGProposalDealParticipantResponse

type DKGProposalDealParticipantResponse []*DKGProposalDealParticipantEntry

type DKGProposalPubKeysParticipantEntry

type DKGProposalPubKeysParticipantEntry struct {
	ParticipantId int
	Username      string
	DkgPubKey     []byte
	Threshold     int
}

type DKGProposalPubKeysParticipantResponse

type DKGProposalPubKeysParticipantResponse []*DKGProposalPubKeysParticipantEntry

type DKGProposalResponseParticipantEntry

type DKGProposalResponseParticipantEntry struct {
	ParticipantId int
	Username      string
	DkgResponse   []byte
}

type DKGProposalResponseParticipantResponse

type DKGProposalResponseParticipantResponse []*DKGProposalResponseParticipantEntry

type SignatureProposalParticipantInvitationEntry

type SignatureProposalParticipantInvitationEntry struct {
	ParticipantId int
	Username      string
	Threshold     int
	DkgPubKey     []byte
	PubKey        []byte
}

type SignatureProposalParticipantInvitationsResponse

type SignatureProposalParticipantInvitationsResponse []*SignatureProposalParticipantInvitationEntry

Event: "event_sig_proposal_init" States: "__idle"

type SignatureProposalParticipantStatusEntry

type SignatureProposalParticipantStatusEntry struct {
	ParticipantId int
	Username      string
	Status        uint8
	DkgPubKey     []byte
}

type SignatureProposalParticipantStatusResponse

type SignatureProposalParticipantStatusResponse []*SignatureProposalParticipantStatusEntry

Public lists for proposal confirmation process States: "validation_canceled_by_participant", "validation_canceled_by_timeout",

type SigningPartialSignsParticipantInvitationEntry

type SigningPartialSignsParticipantInvitationEntry struct {
	ParticipantId int
	Username      string
	Status        uint8
}

type SigningPartialSignsParticipantInvitationsResponse

type SigningPartialSignsParticipantInvitationsResponse struct {
	BatchID      string
	InitiatorId  int
	Participants []*SigningPartialSignsParticipantInvitationEntry
	// Source message for signing
	SrcPayload []byte
}

Event: "event_signing_start" States: "state_signing_await_partial_keys"

type SigningProcessParticipantEntry

type SigningProcessParticipantEntry struct {
	ParticipantId int
	Username      string
	PartialSigns  map[string][]byte
}

type SigningProcessParticipantResponse

type SigningProcessParticipantResponse struct {
	BatchID      string
	SrcPayload   []byte
	Participants []*SigningProcessParticipantEntry
}

Event: "event_signing_partial_key_received" States: "state_signing_partial_signatures_collected"

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL