Typeberry by Fluffy Labs - v0.4.0
Preparing search index...
lib
state
StatisticsData
Class StatisticsData
pi
: Statistics of each validator, cores statistics and services statistics.
Index
Properties
cores
current
previous
services
Codec
Methods
create
Properties
Readonly
cores
cores
:
PerCore
<
CoreStatistics
>
Readonly
current
current
:
PerValidator
<
ValidatorStatistics
>
Readonly
previous
previous
:
PerValidator
<
ValidatorStatistics
>
Readonly
services
services
:
Map
<
number
&
WithBytesRepresentation
<
4
>
&
pvm
.
WithOpaque
<
"ServiceId[u32]"
>
,
ServiceStatistics
,
>
Static
Codec
Codec
:
Descriptor
<
StatisticsData
,
ViewOf
<
StatisticsData
,
{
cores
:
Descriptor
<
readonly
CoreStatistics
[]
&
pvm
.
WithOpaque
<
"number of cores"
>
,
SequenceView
<
CoreStatistics
,
ViewOf
<
CoreStatistics
,
{
bundleSize
:
Descriptor
<
U32
,
U32
>
;
dataAvailabilityLoad
:
Descriptor
<
U32
,
U32
>
;
exports
:
Descriptor
<
U16
,
U32
>
;
extrinsicCount
:
Descriptor
<
U16
,
U32
>
;
extrinsicSize
:
Descriptor
<
U32
,
U32
>
;
gasUsed
:
Descriptor
<
bigint
&
WithBytesRepresentation
<
8
>
&
pvm
.
WithOpaque
<
"ServiceGas[u64]"
,
>
,
bigint
&
WithBytesRepresentation
<
8
>
&
pvm
.
WithOpaque
<
"ServiceGas[u64]"
,
>
,
>
;
imports
:
Descriptor
<
U16
,
U32
>
;
popularity
:
Descriptor
<
U16
,
U32
>
;
}
,
>
,
>
,
>
;
current
:
Descriptor
<
readonly
ValidatorStatistics
[]
&
pvm
.
WithOpaque
<
"ValidatorsCount"
>
,
SequenceView
<
ValidatorStatistics
,
ViewOf
<
ValidatorStatistics
,
{
assurances
:
Descriptor
<
U32
,
Bytes
<
4
>
>
;
blocks
:
Descriptor
<
U32
,
Bytes
<
4
>
>
;
guarantees
:
Descriptor
<
U32
,
Bytes
<
4
>
>
;
preImages
:
Descriptor
<
U32
,
Bytes
<
4
>
>
;
preImagesSize
:
Descriptor
<
U32
,
Bytes
<
4
>
>
;
tickets
:
Descriptor
<
U32
,
Bytes
<
4
>
>
;
}
,
>
,
>
,
>
;
previous
:
Descriptor
<
readonly
ValidatorStatistics
[]
&
pvm
.
WithOpaque
<
"ValidatorsCount"
>
,
SequenceView
<
ValidatorStatistics
,
ViewOf
<
ValidatorStatistics
,
{
assurances
:
Descriptor
<
U32
,
Bytes
<
4
>
>
;
blocks
:
Descriptor
<
U32
,
Bytes
<
4
>
>
;
guarantees
:
Descriptor
<
U32
,
Bytes
<
4
>
>
;
preImages
:
Descriptor
<
U32
,
Bytes
<
4
>
>
;
preImagesSize
:
Descriptor
<
U32
,
Bytes
<
4
>
>
;
tickets
:
Descriptor
<
U32
,
Bytes
<
4
>
>
;
}
,
>
,
>
,
>
;
services
:
Descriptor
<
Map
<
number
&
WithBytesRepresentation
<
4
>
&
pvm
.
WithOpaque
<
"ServiceId[u32]"
,
>
,
ServiceStatistics
,
>
,
Map
<
number
&
WithBytesRepresentation
<
4
>
&
pvm
.
WithOpaque
<
"ServiceId[u32]"
,
>
,
ViewOf
<
ServiceStatistics
,
{
accumulateCount
:
Descriptor
<
U32
,
U32
>
;
accumulateGasUsed
:
Descriptor
<
bigint
&
WithBytesRepresentation
<
8
>
&
pvm
.
WithOpaque
<
"ServiceGas[u64]"
,
>
,
bigint
&
WithBytesRepresentation
<
8
>
&
pvm
.
WithOpaque
<
"ServiceGas[u64]"
,
>
,
>
;
exports
:
Descriptor
<
U16
,
U32
>
;
extrinsicCount
:
Descriptor
<
U16
,
U32
>
;
extrinsicSize
:
Descriptor
<
U32
,
U32
>
;
imports
:
Descriptor
<
U16
,
U32
>
;
onTransfersCount
:
Descriptor
<
U32
,
U32
>
;
onTransfersGasUsed
:
Descriptor
<
bigint
&
WithBytesRepresentation
<
8
>
&
pvm
.
WithOpaque
<
"ServiceGas[u64]"
,
>
,
bigint
&
WithBytesRepresentation
<
8
>
&
pvm
.
WithOpaque
<
"ServiceGas[u64]"
,
>
,
>
;
providedCount
:
Descriptor
<
U16
,
U32
>
;
providedSize
:
Descriptor
<
U32
,
U32
>
;
refinementCount
:
Descriptor
<
U32
,
U32
>
;
refinementGasUsed
:
Descriptor
<
bigint
&
WithBytesRepresentation
<
8
>
&
pvm
.
WithOpaque
<
"ServiceGas[u64]"
,
>
,
bigint
&
WithBytesRepresentation
<
8
>
&
pvm
.
WithOpaque
<
"ServiceGas[u64]"
,
>
,
>
;
}
,
>
,
>
,
>
;
}
,
>
,
>
= ...
Methods
Static
create
create
(
v
:
CodecRecord
<
StatisticsData
>
)
:
StatisticsData
Parameters
v
:
CodecRecord
<
StatisticsData
>
Returns
StatisticsData
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
cores
current
previous
services
Codec
Methods
create
Typeberry by Fluffy Labs - v0.4.0
Loading...
pi: Statistics of each validator, cores statistics and services statistics.