Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
Geth-Modification
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
张蕾
Geth-Modification
Commits
4ee11b07
Unverified
Commit
4ee11b07
authored
4 years ago
by
mr_franklin
Committed by
GitHub
4 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cmd/bootnode,internal/debug: fix some comments (#21623)
parent
901471f7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
main.go
cmd/bootnode/main.go
+1
-1
api.go
internal/debug/api.go
+1
-1
No files found.
cmd/bootnode/main.go
View file @
4ee11b07
...
...
@@ -44,7 +44,7 @@ func main() {
natdesc
=
flag
.
String
(
"nat"
,
"none"
,
"port mapping mechanism (any|none|upnp|pmp|extip:<IP>)"
)
netrestrict
=
flag
.
String
(
"netrestrict"
,
""
,
"restrict network communication to the given IP networks (CIDR masks)"
)
runv5
=
flag
.
Bool
(
"v5"
,
false
,
"run a v5 topic discovery bootnode"
)
verbosity
=
flag
.
Int
(
"verbosity"
,
int
(
log
.
LvlInfo
),
"log verbosity (0-
9
)"
)
verbosity
=
flag
.
Int
(
"verbosity"
,
int
(
log
.
LvlInfo
),
"log verbosity (0-
5
)"
)
vmodule
=
flag
.
String
(
"vmodule"
,
""
,
"log verbosity pattern"
)
nodeKey
*
ecdsa
.
PrivateKey
...
...
This diff is collapsed.
Click to expand it.
internal/debug/api.go
View file @
4ee11b07
...
...
@@ -196,7 +196,7 @@ func (*HandlerT) Stacks() string {
return
buf
.
String
()
}
// FreeOSMemory
returns unused memory to the OS
.
// FreeOSMemory
forces a garbage collection
.
func
(
*
HandlerT
)
FreeOSMemory
()
{
debug
.
FreeOSMemory
()
}
...
...
This diff is collapsed.
Click to expand it.
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