Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
client
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
elixxir
client
Commits
0ba8accb
Commit
0ba8accb
authored
2 years ago
by
Josh Brooks
Browse files
Options
Downloads
Patches
Plain Diff
Specify what's returned in DownloadNdfFromGateway docstring
parent
f4b33116
No related branches found
No related tags found
2 merge requests
!510
Release
,
!297
Add GetNDF for gateways to the API
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
xxdk/ndf.go
+2
-0
2 additions, 0 deletions
xxdk/ndf.go
with
2 additions
and
0 deletions
xxdk/ndf.go
+
2
−
0
View file @
0ba8accb
...
...
@@ -26,6 +26,8 @@ import (
// DownloadNdfFromGateway will download an NDF from a gateway on the cMix network.
// It will take the given address and certificate and send a request to a gateway
// for an NDF over HTTP/2 using the xx network's gRPC implementation.
// This returns a gRPC protobuf message which contains the NDF in the
// PartialNDF field of the pb.GatewayPollResponse.
func
DownloadNdfFromGateway
(
address
string
,
cert
[]
byte
)
(
*
pb
.
GatewayPollResponse
,
error
)
{
// Establish parameters for gRPC
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment