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
4024c1e8
Unverified
Commit
4024c1e8
authored
Apr 25, 2022
by
s7v7nislands
Committed by
GitHub
Apr 25, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix typo (#24731)
parent
7d7a9653
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
accessors_chain.go
core/rawdb/accessors_chain.go
+1
-1
database.go
core/rawdb/database.go
+1
-1
freezer_table.go
core/rawdb/freezer_table.go
+1
-1
No files found.
core/rawdb/accessors_chain.go
View file @
4024c1e8
...
...
@@ -604,7 +604,7 @@ func ReadRawReceipts(db ethdb.Reader, hash common.Hash, number uint64) types.Rec
}
// ReadReceipts retrieves all the transaction receipts belonging to a block, including
// its correspo
i
nding metadata fields. If it is unable to populate these metadata
// its corresponding metadata fields. If it is unable to populate these metadata
// fields then nil is returned.
//
// The current implementation populates these metadata fields by reading the receipts'
...
...
core/rawdb/database.go
View file @
4024c1e8
...
...
@@ -179,7 +179,7 @@ func NewDatabaseWithFreezer(db ethdb.KeyValueStore, freezer string, namespace st
// this point care, the key-value/freezer combo is valid).
// - If neither the key-value store nor the freezer is empty, cross validate
// the genesis hashes to make sure they are compatible. If they are, also
// ensure that there's no gap between the freezer and su
n
sequently leveldb.
// ensure that there's no gap between the freezer and su
b
sequently leveldb.
// - If the key-value store is not empty, but the freezer is we might just be
// upgrading to the freezer release, or we might have had a small chain and
// not frozen anything yet. Ensure that no blocks are missing yet from the
...
...
core/rawdb/freezer_table.go
View file @
4024c1e8
...
...
@@ -119,7 +119,7 @@ type freezerTable struct {
writeMeter
metrics
.
Meter
// Meter for measuring the effective amount of data written
sizeGauge
metrics
.
Gauge
// Gauge for tracking the combined size of all freezer tables
logger
log
.
Logger
// Logger with database path and table name
a
mbedded
logger
log
.
Logger
// Logger with database path and table name
e
mbedded
lock
sync
.
RWMutex
// Mutex protecting the data file descriptors
}
...
...
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