transactions

package
v0.0.12-rc.1 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2020 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ITransactionsSyncer

type ITransactionsSyncer interface {
	SyncTransactions(headerID int64, logs []types.Log) error
}

type TransactionsSyncer

type TransactionsSyncer struct {
	BlockChain core.BlockChain
	Repository datastore.HeaderRepository
}

func NewTransactionsSyncer

func NewTransactionsSyncer(db *postgres.DB, blockChain core.BlockChain) TransactionsSyncer

func (TransactionsSyncer) SyncTransactions

func (syncer TransactionsSyncer) SyncTransactions(headerID int64, logs []types.Log) error

Jump to

Keyboard shortcuts

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