Back to godoc.org

Package merger

v0.0.2
Latest Go to latest

The latest major version is .

Published: Jun 23, 2020 | License: Apache-2.0 | Module: github.com/dfuse-io/merger

Index

type App

type App struct {
	*shutter.Shutter
	// contains filtered or unexported fields
}

func New

func New(config *Config) *App

func (*App) IsReady

func (a *App) IsReady() bool

func (*App) Run

func (a *App) Run() error

type Config

type Config struct {
	StorageOneBlockFilesPath     string
	StorageMergedBlocksFilesPath string
	GRPCListenAddr               string
	Live                         bool
	StartBlockNum                uint64
	StopBlockNum                 uint64
	ProgressFilename             string
	MinimalBlockNum              uint64
	WritersLeewayDuration        time.Duration
	TimeBetweenStoreLookups      time.Duration
	SeenBlocksFile               string
	MaxFixableFork               uint64
	DeleteBlocksBefore           bool
}

Package Files

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier