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
a073ab19
Commit
a073ab19
authored
2 years ago
by
Jake Taylor
Browse files
Options
Downloads
Patches
Plain Diff
commented api functions
parent
68eff143
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!510
Release
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
xxdk/cmix.go
+4
-2
4 additions, 2 deletions
xxdk/cmix.go
with
4 additions
and
2 deletions
xxdk/cmix.go
+
4
−
2
View file @
a073ab19
...
...
@@ -119,6 +119,8 @@ func NewVanityClient(ndfJSON, storageDir string, password []byte,
}
// OpenCmix session, but don't connect to the network or log in
// NOTE: This is a helper function that, in most applications, should not be used on its own
// Consider using LoadCmix instead, which calls this function for you.
func
OpenCmix
(
storageDir
string
,
password
[]
byte
,
parameters
Params
)
(
*
Cmix
,
error
)
{
jww
.
INFO
.
Printf
(
"OpenCmix()"
)
...
...
@@ -202,9 +204,9 @@ func NewProtoClient_Unsafe(ndfJSON, storageDir string, password []byte,
return
nil
}
// LoadCmix initializes a Cmix object from existing storage
// LoadCmix initializes a Cmix object from existing storage
and starts the network
func
LoadCmix
(
storageDir
string
,
password
[]
byte
,
parameters
Params
)
(
*
Cmix
,
error
)
{
jww
.
INFO
.
Printf
(
"Lo
gin
()"
)
jww
.
INFO
.
Printf
(
"Lo
adCmix
()"
)
c
,
err
:=
OpenCmix
(
storageDir
,
password
,
parameters
)
if
err
!=
nil
{
...
...
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