mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-24 05:36:46 +00:00
Update database.go
This commit is contained in:
parent
517977b76d
commit
f5fa72d729
1 changed files with 1 additions and 1 deletions
|
|
@ -152,7 +152,7 @@ type AncientWriter interface {
|
||||||
SyncAncient() error
|
SyncAncient() error
|
||||||
|
|
||||||
// TruncateHead discards all but the first n ancient data from the ancient store.
|
// TruncateHead discards all but the first n ancient data from the ancient store.
|
||||||
// After the truncation, the latest item can be accessed it item_n-1(start from 0).
|
// After the truncation, the latest item can be accessed at item_n-1(start from 0).
|
||||||
TruncateHead(n uint64) (uint64, error)
|
TruncateHead(n uint64) (uint64, error)
|
||||||
|
|
||||||
// TruncateTail discards the first n ancient data from the ancient store. The already
|
// TruncateTail discards the first n ancient data from the ancient store. The already
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue