Documentation ¶
Index ¶
Constants ¶
View Source
const ( // BlkTypeMeshVertex is the type of the Mesh DAG vertex. BlkTypeMeshVertex byte = iota // BlkTypeMeshBooked is the type of the Mesh DAG confirmed block. BlkTypeMeshBooked // BlkTypeMeshConfirmed is the type of the Mesh DAG confirmed block. BlkTypeMeshConfirmed // BlkTypeMeshTxConfirmationState is the type of the Mesh DAG transaction ConfirmationState. BlkTypeMeshTxConfirmationState // BlkTypeUTXOVertex is the type of the UTXO DAG vertex. BlkTypeUTXOVertex // BlkTypeUTXOBooked is the type of the booked transaction. BlkTypeUTXOBooked // BlkTypeUTXOConfirmationStateChanged is the type of the UTXO DAG vertex confirmation state block. BlkTypeUTXOConfirmationStateChanged // BlkTypeConflictVertex is the type of the conflict DAG vertex. BlkTypeConflictVertex // BlkTypeConflictParentsUpdate is the type of the conflict DAG vertex parents updated block. BlkTypeConflictParentsUpdate // BlkTypeConflictConfirmationStateChanged is the type of the conflict DAG vertex confirmed block. BlkTypeConflictConfirmationStateChanged // BlkTypeConflictWeightChanged is the type of the conflict DAG vertex weight changed block. BlkTypeConflictWeightChanged )
View Source
const PluginName = "DAGsVisualizer"
PluginName is the name of the dags visualizer plugin.
Variables ¶
View Source
var ErrForbidden = errors.New("forbidden")
ErrForbidden defines the forbidden error.
View Source
var ErrInternalError = errors.New("internal error")
ErrInternalError defines the internal error.
View Source
var ErrInvalidParameter = errors.New("invalid parameter")
ErrInvalidParameter defines the invalid parameter error.
View Source
var ErrNotFound = errors.New("not found")
ErrNotFound defines the not found error.
View Source
var Parameters = &ParametersDefinition{}
Parameters contains the configuration parameters of the dags visualizer plugin.
View Source
var ( // Plugin is the plugin instance of the dashboard plugin. Plugin *node.Plugin )
Functions ¶
This section is empty.
Types ¶
type ParametersDefinition ¶
type ParametersDefinition struct { // BindAddress defines the config flag of the dags visualizer binding address. BindAddress string `default:"0.0.0.0:8061" usage:"the bind address of the dags visualizer"` // Dev defines the config flag of the dags visualizer dev mode. Dev bool `default:"false" usage:"whether the dags visualizer runs in dev mode"` // DevBindAddress defines the config flag of the dags visualizer binding address in development mode. DevBindAddress string `default:"0.0.0.0:3000" usage:"the bind address of the dags visualizer in develop mode"` }
ParametersDefinition contains the definition of configuration parameters used by the dags visualizer plugin.
Click to show internal directories.
Click to hide internal directories.