fraud

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2021 License: MIT Imports: 13 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AibenchSimulatorConfig

type AibenchSimulatorConfig commonaibenchSimulatorConfig

aibenchSimulatorConfig is used to create a FTSSimulator.

func (*AibenchSimulatorConfig) NewSimulator

func (c *AibenchSimulatorConfig) NewSimulator(limit uint64, inputFilename string, debug int) common.Simulator

NewSimulator produces a Simulator that conforms to the given SimulatorConfig over the specified interval

type FTSSimulator

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

func (FTSSimulator) Finished

func (s FTSSimulator) Finished() bool

Finished tells whether we have simulated all the necessary documents

func (*FTSSimulator) Next

func (d *FTSSimulator) Next(p *serialize.Transaction) bool

Next advances a Transaction to the next state in the generator.

Jump to

Keyboard shortcuts

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