wrapper

package
v0.0.0-...-8b4379f Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChainImpl

type ChainImpl struct {
	Total     int
	Tolerance int
	Index     int
	// contains filtered or unexported fields
}

func NewWrapper

func NewWrapper(batchSize uint64, ConnectionList []string, Index int, total int, tolerance int, random bool, fixed bool, fixedTime int) *ChainImpl

create new insatance of chain

func (*ChainImpl) Consensus

func (ch *ChainImpl) Consensus()

func (*ChainImpl) Enqueue

func (ch *ChainImpl) Enqueue(env *cb.Envelope)

Enqueue txn input and trigger for new Blocck

Jump to

Keyboard shortcuts

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