mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-23 13:16:42 +00:00
update deprecated comment
This commit is contained in:
parent
8a171dce1f
commit
e250b56300
1 changed files with 3 additions and 2 deletions
|
|
@ -76,8 +76,9 @@ type Freezer struct {
|
||||||
// NewFreezer creates a freezer instance for maintaining immutable ordered
|
// NewFreezer creates a freezer instance for maintaining immutable ordered
|
||||||
// data according to the given parameters.
|
// data according to the given parameters.
|
||||||
//
|
//
|
||||||
// The 'tables' argument defines the data tables. If the value of a map
|
// The 'tables' argument defines the freezer tables and their configuration.
|
||||||
// entry is true, snappy compression is disabled for the table.
|
// Each value is a freezerTableConfig specifying whether snappy compression is
|
||||||
|
// disabled (noSnappy) and whether the table is prunable (prunable).
|
||||||
func NewFreezer(datadir string, namespace string, readonly bool, maxTableSize uint32, tables map[string]freezerTableConfig) (*Freezer, error) {
|
func NewFreezer(datadir string, namespace string, readonly bool, maxTableSize uint32, tables map[string]freezerTableConfig) (*Freezer, error) {
|
||||||
// Create the initial freezer object
|
// Create the initial freezer object
|
||||||
var (
|
var (
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue