rpc

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2019 License: AGPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RpcTransactionConverter

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

func NewRpcTransactionConverter

func NewRpcTransactionConverter(client core.EthClient) *RpcTransactionConverter

func (*RpcTransactionConverter) ConvertBlockTransactionsToCore

func (converter *RpcTransactionConverter) ConvertBlockTransactionsToCore(gethBlock *types.Block) ([]core.TransactionModel, error)

func (*RpcTransactionConverter) ConvertRpcTransactionsToModels

func (converter *RpcTransactionConverter) ConvertRpcTransactionsToModels(transactions []core.RpcTransaction) ([]core.TransactionModel, error)

Jump to

Keyboard shortcuts

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