subscribe

package
v0.0.18 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2022 License: MIT Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StreamListingsHandler

func StreamListingsHandler(workerID int, gOwnCollections *collections.Collections, queueListings *chan *models.ItemListedEvent, queueEvents *chan *collections.Event)

func WorkerLogsQueue

func WorkerLogsQueue(workerID int, cNode *node.Node, rawNodes []*node.Node, ownCollections *collections.Collections, queueLogs *chan types.Log, queueEvents *chan *collections.Event, queueOutWS *chan *collections.Event)

Types

type TransactionCollector

type TransactionCollector struct {
	TxID       common.Hash
	LogIndices []int
	Logs       map[int]*types.Log
	TokenIDs   []uint64
	RWMu       *sync.RWMutex
	TX         *types.Transaction
}

func NewTransactionCollector

func NewTransactionCollector(log *types.Log) *TransactionCollector

func (*TransactionCollector) AddLog

func (transco *TransactionCollector) AddLog(log *types.Log)

func (*TransactionCollector) UniqueTokenIDs

func (transco *TransactionCollector) UniqueTokenIDs() int

Jump to

Keyboard shortcuts

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