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
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
elixxir
client
Commits
068c27f5
"cmd/conf/metrics_test.go" did not exist on "6cb8263385e739a27c9042cdb37bb487a9bcabae"
Commit
068c27f5
authored
Sep 28, 2022
by
Jono Wenger
Browse files
Options
Downloads
Patches
Plain Diff
Fix comment for SendReply
parent
24eb354b
No related branches found
No related tags found
4 merge requests
!510
Release
,
!419
rewrote the health tracker to both consider if there are waiting rounds and...
,
!397
Fully Decentralized channels
,
!340
Project/channels
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
bindings/channels.go
+8
-8
8 additions, 8 deletions
bindings/channels.go
with
8 additions
and
8 deletions
bindings/channels.go
+
8
−
8
View file @
068c27f5
...
@@ -636,15 +636,15 @@ func (cm *ChannelsManager) SendMessage(marshalledChanId []byte,
...
@@ -636,15 +636,15 @@ func (cm *ChannelsManager) SendMessage(marshalledChanId []byte,
return
constructChannelSendReport
(
chanMsgId
,
rnd
.
ID
,
ephId
)
return
constructChannelSendReport
(
chanMsgId
,
rnd
.
ID
,
ephId
)
}
}
// SendReply is used to send a formatted message over a channel.
// SendReply is used to send a formatted message over a channel.
Due to the
//
Due to the
underlying encoding using compression, it isn't possible to define
// underlying encoding using compression, it isn't possible to define
the
//
the
largest payload that can be sent, but it will always be possible to send
// largest payload that can be sent, but it will always be possible to send
a
//
a
payload of 766 bytes at minimum.
// payload of 766 bytes at minimum.
//
//
// If the message ID
that
the reply is sent to
doe
s no
t
exist
, th
en the other
// If the message ID the reply is sent to
i
s no
n
existen
t,
the other
side will
//
side will
post the message as a normal message and not a reply.
// post the message as a normal message and not a reply.
The message will auto
//
The message will auto
delete validUntil after the round it is sent in,
// delete validUntil after the round it is sent in,
lasting forever if
//
lasting forever if
ValidForever is used.
//
[channels.
ValidForever
]
is used.
//
//
// Parameters:
// Parameters:
// - marshalledChanId - A JSON marshalled channel ID ([id.ID]).
// - marshalledChanId - A JSON marshalled channel ID ([id.ID]).
...
...
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