package personhood_service

Mouse Melon logoGet desktop application:
View/edit binary Protocol Buffers messages

message Capabilities

personhood_service.proto:124

Capabilities returns what the service is able to do.

(message has no fields)

message CapabilitiesResponse

personhood_service.proto:135

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

message Capability

personhood_service.proto:140

Capability is one endpoint / version pair

Used in: CapabilitiesResponse

message Challenge

personhood_service.proto:166

Challenge allows a participant to sign up and to fetch the latest list of scores.

message ChallengeCandidate

personhood_service.proto:172

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: Challenge, ChallengeReply

message ChallengeReply

personhood_service.proto:180

ChallengeReply is sent back to the client and holds a list of pairs of Credential/Score to display on the client's phone.

message EmailRecover

personhood_service.proto:248

EmailRecover requests a recovery of a given account

message EmailRecoverReply

personhood_service.proto:253

EmailRecoverReply returns the type of action done.

message EmailSetup

personhood_service.proto:208

EmailSetup to create a new setup.

message EmailSetupReply

personhood_service.proto:232

EmailSetupReply when everything went well.

(message has no fields)

message EmailSignup

personhood_service.proto:236

EmailSignup creates a new user if EmailSetup is configured

message EmailSignupReply

personhood_service.proto:243

EmailSignupReply returns the type of action done

message GetAdminDarcIDs

personhood_service.proto:186

GetAdminDarcIDs returns a slice of adminDarcs that are allowed to delete the polls and add a party.

(message has no fields)

message GetAdminDarcIDsReply

personhood_service.proto:191

GetAdminDarcIDsReply returns the list of adminDarcs that are allowed to delete the polls and add a party.

message Meetup

personhood_service.proto:155

Meetup is sent by a user who wants to discover who else is around.

message MeetupResponse

personhood_service.proto:161

MeetupResponse contains all users from the last x minutes.

message Party

personhood_service.proto:33

Party represents everything necessary to find a party in the ledger.

Used in: PartyList, PartyListResponse

message PartyDelete

personhood_service.proto:20

PartyDelete can be sent from one of the admins to remove a party.

Used in: PartyList

message PartyList

personhood_service.proto:13

PartyList can either store a new party in the list, or just return the list of available parties.

message PartyListResponse

personhood_service.proto:28

PartyListResponse holds a list of all known parties so far. Only parties in PreBarrier state are listed.

message Poll

personhood_service.proto:66

Poll allows for adding, listing, and answering to storagePolls

message PollAnswer

personhood_service.proto:93

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: Poll

message PollChoice

personhood_service.proto:111

PollChoice represents one choice of one participant.

Used in: PollStruct

message PollDelete

personhood_service.proto:77

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: Poll

message PollList

personhood_service.proto:84

PollList returns all known storagePolls for this byzcoinID

Used in: Poll

message PollResponse

personhood_service.proto:119

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.

message PollStruct

personhood_service.proto:101

PollStruct represents one poll with answers.

Used in: Poll, PollResponse

message RoPaSciList

personhood_service.proto:44

RoPaSciList can either store a new RockPaperScissors in the list, or just return the available RoPaScis.

message RoPaSciListResponse

personhood_service.proto:55

RoPaSciListResponse returns a list of all known, unfinished RockPaperScissors games.

message SetAdminDarcIDs

personhood_service.proto:198

SetAdminDarcIDs sets the list of admin darcs. The signature must be on sha256( AdminDarcID[0] | AdminDarcID[1] | ... )

message SetAdminDarcIDsReply

personhood_service.proto:204

SetAdminDarcIDsReply indicates a correct storage of the AdminDarcIDs.

(message has no fields)

message StringReply

personhood_service.proto:61

StringReply can be used by all calls that need a string to be returned to the caller.

message UserLocation

personhood_service.proto:146

UserLocation is the moment a user has been at a certain location.

Used in: Meetup, MeetupResponse