zswhq

package
v0.2.16 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ActionTraceToDEOS

func ActionTraceToDEOS(in zsw.ActionTrace, execIndex uint32, opts ...zswhq.ConversionOption) (out *pbcodec.ActionTrace, consoleTruncated bool)

func ActionTracesToDEOS

func ActionTracesToDEOS(actionTraces []zsw.ActionTrace, opts ...zswhq.ConversionOption) (out []*pbcodec.ActionTrace, someConsoleTruncated bool)

func TransactionTraceToDEOS

func TransactionTraceToDEOS(logger *zap.Logger, in *zsw.TransactionTrace, opts ...zswhq.ConversionOption) *pbcodec.TransactionTrace

Types

type Hydrator

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

func NewHydrator

func NewHydrator(parentLogger *zap.Logger) *Hydrator

func (*Hydrator) DecodeTransactionTrace

func (h *Hydrator) DecodeTransactionTrace(input []byte, opts ...zswhq.ConversionOption) (*pbcodec.TransactionTrace, error)

func (*Hydrator) HydrateBlock

func (h *Hydrator) HydrateBlock(block *pbcodec.Block, input []byte) error

Jump to

Keyboard shortcuts

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