Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
nebula
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
exchain
nebula
Commits
a71d036c
Unverified
Commit
a71d036c
authored
Apr 18, 2023
by
Michael de Hoog
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Comments
parent
bed7459a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
channel_builder.go
op-batcher/batcher/channel_builder.go
+3
-3
No files found.
op-batcher/batcher/channel_builder.go
View file @
a71d036c
...
...
@@ -56,7 +56,7 @@ type ChannelConfig struct {
SubSafetyMargin
uint64
// The maximum byte-size a frame can have.
MaxFrameSize
uint64
// CompressorFactory creates Compressors
to use
to compress frame data.
// CompressorFactory creates Compressors
used
to compress frame data.
CompressorFactory
CompressorFactory
}
...
...
@@ -85,7 +85,7 @@ func (cc *ChannelConfig) Check() error {
// Compressor must be set
if
cc
.
CompressorFactory
==
nil
{
return
errors
.
New
(
"compressor cannot be nil"
)
return
errors
.
New
(
"compressor
factory
cannot be nil"
)
}
return
nil
...
...
@@ -297,7 +297,7 @@ func (c *channelBuilder) IsFull() bool {
//
// It returns a ChannelFullError wrapping one of the following possible reasons
// for the channel being full:
// - derive.CompressorFullErr if the compressor target has been reached
.
// - derive.CompressorFullErr if the compressor target has been reached
,
// - derive.MaxRLPBytesPerChannel if the general maximum amount of input data
// would have been exceeded by the latest AddBlock call,
// - ErrMaxFrameIndex if the maximum number of frames has been generated
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment