ethcrawl

package
v0.0.0-...-086ef7a Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2018 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCrawler

NewCrawler returns a fully setup crawler. Parameters are: -ctx: An execution context -flags: the execution options -filter: an address filter -processor: a BCBlockProcessor -readingMode: Indicates what to extract. Values are:

ReadTransDetail  : Transaction details
ReadTransReceipt : Include Transaction Receipts related info
ReadTransLog     : Include the transactions logs

Types

type BlockReadingMode

type BlockReadingMode int

BlockReadingMode represents the different modes of reading blocks.

const (
	// ReadTransDetail indicates that the tx details must be read
	ReadTransDetail BlockReadingMode = 1
	// ReadTransReceipt indicates that the transaction receipt must be read
	ReadTransReceipt BlockReadingMode = 2
	// ReadTransLog indicates that the transaction logs must be read
	ReadTransLog BlockReadingMode = 4
	// ReadTransDetailAndReceipt indicates that transaction details and receipts must be read
	ReadTransDetailAndReceipt = ReadTransDetail + ReadTransReceipt
	// ReadAll indicates that logs and full transaction details must be read
	ReadAll = ReadTransDetailAndReceipt + ReadTransLog
)

Jump to

Keyboard shortcuts

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