packer

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: May 2, 2020 License: LGPL-3.0 Imports: 2 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NewPackageEvent

type NewPackageEvent struct {
	Pkgs []*types.TxPackage
}

type Packer

type Packer interface {
	//
	InsertRemoteTxPackage(pkg *types.TxPackage) error

	// pack_service
	InsertTransactions(txs types.Transactions) []error
	StartPacking(packerIndex uint32)
	StopPacking()
	IsPacking() bool
	Subscribe(ch chan<- NewPackageEvent) event.Subscription
}

Directories

Path Synopsis
Package tx_collector contains the implementation of tx collector for packer.
Package tx_collector contains the implementation of tx collector for packer.

Jump to

Keyboard shortcuts

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