vat_heal

package
v0.2.4 Latest Latest
Warning

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

Go to latest
Published: May 28, 2019 License: AGPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetVatHealConfig

func GetVatHealConfig() shared_t.EventTransformerConfig

Types

type VatHealConverter

type VatHealConverter struct{}

func (VatHealConverter) ToModels

func (VatHealConverter) ToModels(ethLogs []types.Log) ([]interface{}, error)

type VatHealModel

type VatHealModel struct {
	Urn              string
	V                string
	Rad              string
	LogIndex         uint   `db:"log_idx"`
	TransactionIndex uint   `db:"tx_idx"`
	Raw              []byte `db:"raw_log"`
}

type VatHealRepository

type VatHealRepository struct {
	// contains filtered or unexported fields
}

func (VatHealRepository) Create

func (repository VatHealRepository) Create(headerID int64, models []interface{}) error

func (VatHealRepository) MarkHeaderChecked

func (repository VatHealRepository) MarkHeaderChecked(headerId int64) error

func (VatHealRepository) MissingHeaders

func (repository VatHealRepository) MissingHeaders(startingBlock, endingBlock int64) ([]core.Header, error)

func (VatHealRepository) RecheckHeaders

func (repository VatHealRepository) RecheckHeaders(startingBlock, endingBlock int64) ([]core.Header, error)

func (*VatHealRepository) SetDB

func (repository *VatHealRepository) SetDB(db *postgres.DB)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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