handler

package
v0.0.0-...-262d4b5 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2018 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PriAsyEthHandler

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

异步处理

func NewPriAsyEthHandler

func NewPriAsyEthHandler(cfg *config.Config, db *db.Ldb) *PriAsyEthHandler

func (*PriAsyEthHandler) Close

func (this *PriAsyEthHandler) Close()

关闭私链操作处理

func (*PriAsyEthHandler) Start

func (this *PriAsyEthHandler) Start()

上私链操作

type PriSynEthHandler

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

同步处理

var PriSynEth *PriSynEthHandler

func InitPriSynEthHandler

func InitPriSynEthHandler(sinkAddrStr string, cfg config.EthCfg) (*PriSynEthHandler, error)

func (*PriSynEthHandler) HashAvailable

func (p *PriSynEthHandler) HashAvailable(hashStr string) (bool, error)

hash是否有效

func (*PriSynEthHandler) TxExists

func (p *PriSynEthHandler) TxExists(hashStr, txHashStr string) (bool, error)

申请是否成功

Jump to

Keyboard shortcuts

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