actions

package
v0.0.0-...-80b22ab Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2021 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func UpdateCounts

func UpdateCounts()

UpdateCounts updates the values of all item counts (eg. validator count)

Types

type BlockTransactionsIndexChange

type BlockTransactionsIndexChange struct {
	Index int
}

BlockTransactionsIndexChange is the action to set the pagination index

type BlocksHeightUpdate

type BlocksHeightUpdate struct {
	Height int
}

BlocksHeightUpdate is the action to change the current block height

type BlocksIndexChange

type BlocksIndexChange struct {
	Index int
}

BlocksIndexChange is the action to set the pagination index

type BlocksTabChange

type BlocksTabChange struct {
	Tab string
}

BlocksTabChange is the action to change the current blocks tab

type DisableUpdate

type DisableUpdate struct {
	Updater  *bool
	Disabled bool
}

DisableUpdate is the action to set the disable update status for given disableupdate boolean

type EnableAllUpdates

type EnableAllUpdates struct {
}

EnableAllUpdates is the action to set all disable updates bools to false

type EntitiesIndexChange

type EntitiesIndexChange struct {
	Index int
}

EntitiesIndexChange is the action to set the pagination index

type EntityProcessesIndexChange

type EntityProcessesIndexChange struct {
	Index int
}

EntityProcessesIndexChange is the action to set the pagination index

type EntityTabChange

type EntityTabChange struct {
	Tab string
}

EntityTabChange is the action to change entities tabs

type EnvelopesIndexChange

type EnvelopesIndexChange struct {
	Index int
}

EnvelopesIndexChange is the action to set the pagination index

type EnvelopesTabChange

type EnvelopesTabChange struct {
	Tab string
}

TransactionTabChange is the action to change between tabs in transaction view details

type ProcessEnvelopesIndexChange

type ProcessEnvelopesIndexChange struct {
	Index int
}

ProcessEnvelopesIndexChange is the action to set the pagination index for the current process' envelope list

type ProcessTabChange

type ProcessTabChange struct {
	Tab string
}

ProcessTabChange is the action to change processes tabs

type ProcessesIndexChange

type ProcessesIndexChange struct {
	Index int
}

ProcessesIndexChange is the action to set the pagination index

type ServerConnected

type ServerConnected struct {
	Connected bool
}

ServerConnected is the action to change the connection status of the web server

type SetBlockList

type SetBlockList struct {
	BlockList [config.ListSize]*dbtypes.StoreBlock
}

SetBlockList is the action to set the list of current blocks

type SetCurrentBlock

type SetCurrentBlock struct {
	Block *api.Block
}

SetCurrentBlock is the action to set the current block

type SetCurrentBlockHeight

type SetCurrentBlockHeight struct {
	Height int64
}

SetCurrentBlockHeight is the action to set the current block height

type SetCurrentBlockTransactionList

type SetCurrentBlockTransactionList struct {
	TransactionList [config.ListSize]*dbtypes.Transaction
}

SetCurrentBlockTransactionList is the action to set the current list of transactions

type SetCurrentDecodedTransaction

type SetCurrentDecodedTransaction struct {
	Transaction *storeutil.DecodedTransaction
}

SetCurrentDecodedTransaction is the action to set the decoded contents associated with the current transaction

type SetCurrentEntityID

type SetCurrentEntityID struct {
	EntityID string
}

SetCurrentEntityID is the action to set the current active entity ID

type SetCurrentEnvelope

type SetCurrentEnvelope struct {
	Envelope *dbtypes.Envelope
}

SetCurrentEnvelope is the action to set the current envelope

type SetCurrentEnvelopeHeight

type SetCurrentEnvelopeHeight struct {
	Height int64
}

SetCurrentEnvelopeHeight is the action to set the current envelope height

type SetCurrentPage

type SetCurrentPage struct {
	Page string
}

SetCurrentPage is the action to set the current page title

type SetCurrentProcessEnvelopeHeight

type SetCurrentProcessEnvelopeHeight struct {
	Height int
}

SetCurrentProcessEnvelopeHeight is the action to set the current process' envelope height

type SetCurrentProcessEnvelopes

type SetCurrentProcessEnvelopes struct {
	EnvelopeList [config.ListSize]*dbtypes.Envelope
}

SetCurrentProcessEnvelopes is the action to set the envelope list for the current process

type SetCurrentProcessResults

type SetCurrentProcessResults struct {
	Process storeutil.Process
}

SetCurrentProcessResults is the action to set the current process results

type SetCurrentProcessStruct

type SetCurrentProcessStruct struct {
	Process *dbtypes.Process
}

SetCurrentProcessStruct is the action to set the current process

type SetCurrentTransaction

type SetCurrentTransaction struct {
	Transaction *dbtypes.Transaction
}

SetCurrentTransaction is the action to set the current transaction

type SetCurrentTransactionHeight

type SetCurrentTransactionHeight struct {
	Height int64
}

SetCurrentTransactionHeight is the action to set the height of the current transaction

type SetCurrentValidator

type SetCurrentValidator struct {
	Validator *dbtypes.Validator
}

SetCurrentValidator is the action to set the currently displayed validator

type SetCurrentValidatorBlockCount

type SetCurrentValidatorBlockCount struct {
	Count int
}

SetCurrentValidatorBlockCount is the action to set the currently displayed validator's block count

type SetCurrentValidatorBlockList

type SetCurrentValidatorBlockList struct {
	BlockList [config.ListSize]*dbtypes.StoreBlock
}

SetCurrentValidatorBlockList is the action to set the list of blocks belonging to the current validator

type SetCurrentValidatorID

type SetCurrentValidatorID struct {
	ID string
}

SetCurrentValidatorID is the action to set the currently displayed validator ID

type SetEntityCount

type SetEntityCount struct {
	Count int
}

SetEntityCount is the action to set the entity count

type SetEntityIDs

type SetEntityIDs struct {
	EntityIDs [config.ListSize]string
}

SetEntityIDs is the action to set the entity list

type SetEntityProcessCount

type SetEntityProcessCount struct {
	Count int
}

SetEntityProcessCount is the action to set the current entity's process count

type SetEntityProcessList

type SetEntityProcessList struct {
	ProcessList [config.ListSize]*dbtypes.Process
}

SetEntityProcessList is the action to set the current entity's process list

type SetEnvelopeCount

type SetEnvelopeCount struct {
	Count int
}

SetEnvelopeCount is the action to set the Envelope count

type SetEnvelopeHeights

type SetEnvelopeHeights struct {
	EnvelopeHeights map[string]int64
}

SetEnvelopeHeights is the action to set the envelope heights map

type SetEnvelopeList

type SetEnvelopeList struct {
	EnvelopeList [config.ListSize]*dbtypes.Envelope
}

SetEnvelopeList is the action to set the envelope list

type SetProcessContents

type SetProcessContents struct {
	Process storeutil.Process
	ID      string
}

SetProcessContents is the action to set a single process contents

type SetProcessCount

type SetProcessCount struct {
	Count int
}

SetProcessCount is the action to set the process count

type SetProcessHeights

type SetProcessHeights struct {
	ProcessHeights map[string]int64
}

SetProcessHeights is the action to set the entity count

type SetProcessKeys

type SetProcessKeys struct {
	Keys *api.Pkeys
	ID   string
}

SetProcessKeys is the action to set the keys for a single process

type SetProcessList

type SetProcessList struct {
	Processes [config.ListSize]*dbtypes.Process
}

SetProcessList is the action to set the process list

type SetProcessState

type SetProcessState struct {
	State string
}

SetProcessState is the action to set the current process state

type SetProcessType

type SetProcessType struct {
	Type string
}

SetProcessType is the action to set the current process type

type SetStats

type SetStats struct {
	Stats *api.VochainStats
}

SetStats is the action to set the blockchain statistics

type SetTransactionBlock

type SetTransactionBlock struct {
	Block *dbtypes.StoreBlock
}

SetTransactionBlock is the action to set the block associated with the current transaction

type SetTransactionCount

type SetTransactionCount struct {
	Count int
}

SetTransactionCount is the action to set the Transaction count

type SetTransactionList

type SetTransactionList struct {
	TransactionList [config.ListSize]*dbtypes.Transaction
}

SetTransactionList is the action to set the transaction list

type SetValidatorBlockHeightMap

type SetValidatorBlockHeightMap struct {
	HeightMap map[string]int64
}

SetValidatorBlockHeightMap is the action to set the map of block heights associated with each validator

type SetValidatorCount

type SetValidatorCount struct {
	Count int
}

SetValidatorCount is the action to set the Validator count

type SetValidatorList

type SetValidatorList struct {
	List [config.ListSize]*dbtypes.Validator
}

SetValidatorList is the action to set the validator list

type SignalRedirect

type SignalRedirect struct {
}

SignalRedirect is the action to signal a page redirect

type StoreConfig

type StoreConfig struct {
	Config config.Cfg
}

StoreConfig is the action to store a config object

type TransactionTabChange

type TransactionTabChange struct {
	Tab string
}

TransactionTabChange is the action to change between tabs in transaction view details

type TransactionsIndexChange

type TransactionsIndexChange struct {
	Index int
}

TransactionsIndexChange is the action to set the pagination index

type ValidatorBlocksIndexChange

type ValidatorBlocksIndexChange struct {
	Index int
}

ValidatorBlocksIndexChange is the action to set the pagination index

type ValidatorsIndexChange

type ValidatorsIndexChange struct {
	Index int
}

ValidatorsIndexChange is the action to set the pagination index

Jump to

Keyboard shortcuts

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