Get desktop application:
View/edit binary Protocol Buffers messages
Capabilities returns what the service is able to do.
(message has no fields)
CapabilitiesResponse is the response with the endpoints and the version of each endpoint. The versioning is a 24 bit value, that can be interpreted in hexadecimal as the following: Version = [3]byte{xx, yy, zz} - xx - major version - incompatible - yy - minor version - downwards compatible. A client with a lower number will be able to interact with this server - zz - patch version - whatever suits you - higher is better, but no incompatibilities
Capability is one endpoint / version pair
Used in:
Challenge allows a participant to sign up and to fetch the latest list of scores.
ChallengeCandidate is the information the client sends to the server. Some of the information is not verifiable for the moment (meetups and references).
Used in:
,ChallengeReply is sent back to the client and holds a list of pairs of Credential/Score to display on the client's phone.
EmailRecover requests a recovery of a given account
EmailRecoverReply returns the type of action done.
EmailSetup to create a new setup.
ByzCoinID where the email service is running.
Roster of the nodes where the byzcoin service is running.
DeviceURL, as created from the dynacred-frontend
EmailDarcID is the darc where new users will be added to
SMTPHost: "[tls://]host:port" - should support emails with a sender "from".
SMTPFrom that will be used for the SMTP host
SMTPReplyTo is the email address that will be used as reply-to
BaseURL is prepended to the recovery string and should point to the publicly available frontend.
Signature is on the sha256 of the above fields
EmailSetupReply when everything went well.
(message has no fields)
EmailSignup creates a new user if EmailSetup is configured
Alias can be empty
EmailSignupReply returns the type of action done
GetAdminDarcIDs returns a slice of adminDarcs that are allowed to delete the polls and add a party.
(message has no fields)
GetAdminDarcIDsReply returns the list of adminDarcs that are allowed to delete the polls and add a party.
Meetup is sent by a user who wants to discover who else is around.
MeetupResponse contains all users from the last x minutes.
Party represents everything necessary to find a party in the ledger.
Used in:
,Roster is the list of nodes responsible for the byzcoin instance
ByzCoinID represents the ledger where the pop-party is stored.
InstanceID is where to find the party in the ledger.
PartyDelete can be sent from one of the admins to remove a party.
Used in:
PartyList can either store a new party in the list, or just return the list of available parties.
PartyListResponse holds a list of all known parties so far. Only parties in PreBarrier state are listed.
Poll allows for adding, listing, and answering to storagePolls
PollAnswer stores one answer for a poll. It needs to be signed with a Linkable Ring Signature to proof that the choice is unique. The context for the LRS must be 'Poll' + ByzCoinID + PollID And the message must be 'Choice' + byte(Choice)
Used in:
PollChoice represents one choice of one participant.
Used in:
PollDelete has the poll to be deleted, and the signature proving that the client has the right to do so. The signature is a Schnorr signature on the PollID.
Used in:
PollList returns all known storagePolls for this byzcoinID
Used in:
PollResponse is sent back to the client and contains all storagePolls known that still have a reward left. It also returns the coinIID of the pollservice itself.
PollStruct represents one poll with answers.
Used in:
,RoPaSciList can either store a new RockPaperScissors in the list, or just return the available RoPaScis.
RoPaSciLock allows to ask to lock a ropasci-game and take 1 minute to reply. After 1 minute, the game is again released. If the given game is not available, another one will be presented, when available.
RoPaSciListResponse returns a list of all known, unfinished RockPaperScissors games.
SetAdminDarcIDs sets the list of admin darcs. The signature must be on sha256( AdminDarcID[0] | AdminDarcID[1] | ... )
SetAdminDarcIDsReply indicates a correct storage of the AdminDarcIDs.
(message has no fields)
StringReply can be used by all calls that need a string to be returned to the caller.
UserLocation is the moment a user has been at a certain location.
Used in:
,