Skip to content
Snippets Groups Projects
Select Git revision
  • abb169a2f8b5fe7e3d4126ee2bff0781c00cf14c
  • release default protected
  • 11-22-implement-kv-interface-defined-in-collectiveversionedkvgo
  • hotfix/TestHostPool_UpdateNdf_AddFilter
  • XX-4719/announcementChannels
  • xx-4717/logLevel
  • jonah/noob-channel
  • master protected
  • XX-4707/tagDiskJson
  • xx-4698/notification-retry
  • hotfix/notifylockup
  • syncNodes
  • hotfix/localCB
  • XX-4677/NewChanManagerMobile
  • XX-4689/DmSync
  • duplicatePrefix
  • XX-4601/HavenInvites
  • finalizedUICallbacks
  • XX-4673/AdminKeySync
  • debugNotifID
  • anne/test
  • v4.7.5
  • v4.7.4
  • v4.7.3
  • v4.7.2
  • v4.7.1
  • v4.6.3
  • v4.6.1
  • v4.5.0
  • v4.4.4
  • v4.3.11
  • v4.3.8
  • v4.3.7
  • v4.3.6
  • v4.3.5
  • v4.2.0
  • v4.3.0
  • v4.3.4
  • v4.3.3
  • v4.3.2
  • v4.3.1
41 results

healthTracker.go

Blame
  • udMessages.proto 1.43 KiB
    ////////////////////////////////////////////////////////////////////////////////
    // Copyright © 2022 xx foundation                                             //
    //                                                                            //
    // Use of this source code is governed by a license that can be found in the  //
    // LICENSE file.                                                              //
    ////////////////////////////////////////////////////////////////////////////////
    
    // Call ./generate.sh to generate the protocol buffer code
    
    syntax = "proto3";
    
    package parse;
    option go_package = "ud";
    
    // Contains the Hash and its Type
    message HashFact {
      bytes hash = 1;
      int32 type = 2;
    }
    
    // Describes a user lookup result. The ID, public key, and the
    // facts inputted that brought up this user.
    message Contact {
      bytes userID = 1;
      bytes pubKey = 2;
      string username = 3;
      repeated HashFact trigFacts = 4;
    }
    
    // Message sent to UDB to search for users
    message SearchSend {
      // PublicKey used in the registration
      repeated HashFact fact = 1;
    }
    
    // Message sent from UDB to client in response to a search
    message SearchResponse {
      // ID of the session created
      repeated Contact contacts = 1;
      string error = 3;
    }
    
    // Message sent to UDB for looking up a user
    message LookupSend {
      bytes userID = 1;
    }
    
    // Message sent from UDB for looking up a user
    message LookupResponse {
      bytes pubKey = 1;
      string username = 2;
      string error = 3;
    }