Set state node diff
field to false for snapshots
#18
@ -33,6 +33,10 @@ import (
|
||||
)
|
||||
|
||||
// NewStateDiffIndexer creates and returns an implementation of the StateDiffIndexer interface.
|
||||
// `chainConfig` is used when processing chain state.
|
||||
// `nodeInfo` contains metadata on the Ethereum node, which is inserted with the indexed state.
|
||||
// `config` contains configuration specific to the indexer.
|
||||
// `diff` tells us to mark state nodes as belonging to an incremental diff, as opposed to a full snapshot.
|
||||
func NewStateDiffIndexer(
|
||||
ctx context.Context,
|
||||
roysc marked this conversation as resolved
Outdated
|
||||
chainConfig *params.ChainConfig,
|
||||
|
Loading…
Reference in New Issue
Block a user
Could you add a comment as to the purpose of the flag?