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
fb368723
Commit
fb368723
authored
Aug 13, 2018
by
Mymskmkt
Committed by
Péter Szilágyi
Aug 13, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
core: fix comment typo (#17376)
parent
6d1e292e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
tx_cacher.go
core/tx_cacher.go
+2
-2
No files found.
core/tx_cacher.go
View file @
fb368723
...
@@ -22,7 +22,7 @@ import (
...
@@ -22,7 +22,7 @@ import (
"github.com/ethereum/go-ethereum/core/types"
"github.com/ethereum/go-ethereum/core/types"
)
)
// senderCacher is a concurrent tranaction sender recoverer anc cacher.
// senderCacher is a concurrent tran
s
action sender recoverer anc cacher.
var
senderCacher
=
newTxSenderCacher
(
runtime
.
NumCPU
())
var
senderCacher
=
newTxSenderCacher
(
runtime
.
NumCPU
())
// txSenderCacherRequest is a request for recovering transaction senders with a
// txSenderCacherRequest is a request for recovering transaction senders with a
...
@@ -45,7 +45,7 @@ type txSenderCacher struct {
...
@@ -45,7 +45,7 @@ type txSenderCacher struct {
}
}
// newTxSenderCacher creates a new transaction sender background cacher and starts
// newTxSenderCacher creates a new transaction sender background cacher and starts
// as many procesing goroutines as allowed by the GOMAXPROCS on construction.
// as many proces
s
ing goroutines as allowed by the GOMAXPROCS on construction.
func
newTxSenderCacher
(
threads
int
)
*
txSenderCacher
{
func
newTxSenderCacher
(
threads
int
)
*
txSenderCacher
{
cacher
:=
&
txSenderCacher
{
cacher
:=
&
txSenderCacher
{
tasks
:
make
(
chan
*
txSenderCacherRequest
,
threads
),
tasks
:
make
(
chan
*
txSenderCacherRequest
,
threads
),
...
...
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