Documentation ¶
Overview ¶
Package tracers is a collection of JavaScript transaction tracers.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterLookup ¶ added in v0.2.4
func RegisterLookup(wildcard bool, lookup lookupFunc)
RegisterLookup registers a method as a lookup for tracers, meaning that users can invoke a named tracer through that lookup. If 'wildcard' is true, then the lookup will be placed last. This is typically meant for interpreted engines (js) which can evaluate dynamic user-supplied code.
Types ¶
type Context ¶ added in v0.2.4
type Context struct { BlockHash common.Hash // Hash of the block the tx is contained within (zero if dangling tx or call) TxIndex int // Index of the transaction within a block (zero if dangling tx or call) TxHash common.Hash // Hash of the transaction being traced (zero if dangling call) }
Context contains some contextual infos for a transaction execution that is not available from within the EVM object.
Directories ¶
Path | Synopsis |
---|---|
internal
|
|
tracers
Package tracers contains the actual JavaScript tracer assets.
|
Package tracers contains the actual JavaScript tracer assets. |
internal/tracers
Package tracers contains the actual JavaScript tracer assets.
|
Package tracers contains the actual JavaScript tracer assets. |
Package native is a collection of tracers written in go.
|
Package native is a collection of tracers written in go. |
Click to show internal directories.
Click to hide internal directories.