ec

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// By default, index fetches UTXOs round-by-round and calculates running total.
	// DefaultRecordsLimit defines the size of one portion of data that is going to be fetched from the database.
	DefaultRecordsLimit = 32

	// AvgUTXOsCountPerOperation defines expected amount of UTXOs per operation.
	// This should not be used a strict limit, but as a tuning value for various internal memory operations.
	AvgUTXOsCountPerOperation = 8

	RegularUTXOLockPeriod = 3
)

Variables

View Source
var (
	ErrNoUTXOFound              = errors.New("no UTXO found")
	ErrNoRecordsInDB            = errors.New("there are no records")
	ErrUnexpectedResponseFromDB = errors.New("unexpected response from the database")
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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