blockcutter

package
v0.0.0-...-95b87ed Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2019 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Receiver

type Receiver struct {
	IsolatedTx bool

	CutAncestors bool

	CutNext bool

	SkipAppendCurBatch bool

	Block chan struct{}
	// contains filtered or unexported fields
}

func NewReceiver

func NewReceiver() *Receiver

func (*Receiver) CurBatch

func (mbc *Receiver) CurBatch() []*cb.Envelope

func (*Receiver) Cut

func (mbc *Receiver) Cut() []*cb.Envelope

func (*Receiver) Ordered

func (mbc *Receiver) Ordered(env *cb.Envelope) ([][]*cb.Envelope, bool)

Jump to

Keyboard shortcuts

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