diff --git a/xxdk/ndf.go b/xxdk/ndf.go index 01de46358c76b9c26ac1159d5b9164465675e5ba..861fea406db35ca272a2dcb66e9a54f7fae0313d 100644 --- a/xxdk/ndf.go +++ b/xxdk/ndf.go @@ -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