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 ¶
type Pool struct { Txs map[string]data.TransactionHandler Scrs map[string]data.TransactionHandler Rewards map[string]data.TransactionHandler Invalid map[string]data.TransactionHandler Receipts map[string]data.TransactionHandler }
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 ¶
ValidatorRatingInfo is a structure containing validator rating information
Click to show internal directories.
Click to hide internal directories.