tokenhist

package
v0.2.10 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 12, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type App

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

func New

func New(config *Config, modules *Modules) *App

func (*App) Run

func (a *App) Run() error

type Config

type Config struct {
	KvdbDSN                  string
	GRPCListenAddr           string
	BlocksStoreURL           string //FileSourceBaseURL
	BlockstreamAddr          string // LiveSourceAddress
	ShardNum                 byte
	MaxEntriesPerKey         uint64
	FlushBlocksInterval      uint64
	EnableInjector           bool
	EnableServer             bool
	IgnoreCheckpointOnLaunch bool
	StartBlockNum            uint64
	StopBlockNum             uint64
	AccounthistMode          accounthist.AccounthistMode
}

type Modules

type Modules struct {
	BlockFilter func(blk *bstream.Block) error
	Tracker     *bstream.Tracker
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL