Typeberry by Fluffy Labs - v0.4.0
Preparing search index...
lib
database
updateLeafs
Function updateLeafs
updateLeafs
(
leafs
:
SortedSet
<
LeafNode
>
,
blake2b
:
Blake2b
,
data
:
Iterable
<
[
StateEntryUpdateAction
,
TruncatedHash
|
OpaqueHash
&
pvm
.
WithOpaque
<
"stateKey"
>
,
BytesBlob
,
]
,
>
,
)
:
{
leafs
:
SortedSet
<
LeafNode
>
;
values
:
[
OpaqueHash
&
pvm
.
WithOpaque
<
"trieValue"
>
,
BytesBlob
]
[]
;
}
Parameters
leafs
:
SortedSet
<
LeafNode
>
blake2b
:
Blake2b
data
:
Iterable
<
[
StateEntryUpdateAction
,
TruncatedHash
|
OpaqueHash
&
pvm
.
WithOpaque
<
"stateKey"
>
,
BytesBlob
,
]
,
>
Returns
{
leafs
:
SortedSet
<
LeafNode
>
;
values
:
[
OpaqueHash
&
pvm
.
WithOpaque
<
"trieValue"
>
,
BytesBlob
]
[]
;
}
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Typeberry by Fluffy Labs - v0.4.0
Loading...