executordto

package
v0.0.0-...-7107d2d Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Batch

type Batch struct {
	// Txs is a slice with transactions
	Txs [][]byte
	// Swaps is a slice with swap transactions
	Swaps []*proto.Swap
	// MultiSwaps is a slice with multi swap transactions
	MultiSwaps []*proto.MultiSwap
	// Keys is a slice with swap key transactions
	Keys []*proto.SwapKey
	// MultiKeys is a slice with multi swap key transactions
	MultiKeys []*proto.SwapKey
	// Size is a size of batch
	PredictSize uint
	// TxIndToBlocks is a map with indexes of transactions to blocks
	TxIndToBlocks map[uint]uint64
}

Batch is a struct with data for batch

func (*Batch) IsEmpty

func (b *Batch) IsEmpty() bool

IsEmpty returns true if batch is empty

Jump to

Keyboard shortcuts

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