indexer

package
v1.2.3 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2021 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ArgsSaveBlockData

type ArgsSaveBlockData struct {
	HeaderHash             []byte
	Body                   data.BodyHandler
	Header                 data.HeaderHandler
	SignersIndexes         []uint64
	NotarizedHeadersHashes []string
	TransactionsPool       *Pool
}

ArgsSaveBlockData will contains all information that are needed to save block data

type Pool

Pool will holds all types of transaction

type RoundInfo

type RoundInfo struct {
	Index            uint64
	SignersIndexes   []uint64
	BlockWasProposed bool
	ShardId          uint32
	Timestamp        time.Duration
}

RoundInfo is a structure containing block signers and shard id

type ValidatorRatingInfo

type ValidatorRatingInfo struct {
	PublicKey string
	Rating    float32
}

ValidatorRatingInfo is a structure containing validator rating information

Jump to

Keyboard shortcuts

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