Crate plerkle_serialization
source · [−]Modules
Structs
Enums
Constants
ENUM_MAX_REWARD_TYPEDeprecated
ENUM_MAX_STATUSDeprecated
ENUM_MIN_REWARD_TYPEDeprecated
ENUM_MIN_STATUSDeprecated
ENUM_VALUES_REWARD_TYPEDeprecated
ENUM_VALUES_STATUSDeprecated
Functions
get_root_as_account_infoDeprecated
get_root_as_block_infoDeprecated
get_root_as_compiled_instructionDeprecated
get_root_as_slot_status_infoDeprecated
get_root_as_transaction_infoDeprecated
get_size_prefixed_root_as_account_infoDeprecated
get_size_prefixed_root_as_block_infoDeprecated
Verifies that a buffer of bytes contains a
AccountInfo
and returns it.
Note that verification is still experimental and may not
catch every error, or be maximally performant. For the
previous, unchecked, behavior use
root_as_account_info_unchecked
.Assumes, without verification, that a buffer of bytes contains a AccountInfo and returns it.
Verifies, with the given options, that a buffer of bytes
contains a
AccountInfo
and returns it.
Note that verification is still experimental and may not
catch every error, or be maximally performant. For the
previous, unchecked, behavior use
root_as_account_info_unchecked
.Verifies that a buffer of bytes contains a
BlockInfo
and returns it.
Note that verification is still experimental and may not
catch every error, or be maximally performant. For the
previous, unchecked, behavior use
root_as_block_info_unchecked
.Assumes, without verification, that a buffer of bytes contains a BlockInfo and returns it.
Verifies, with the given options, that a buffer of bytes
contains a
BlockInfo
and returns it.
Note that verification is still experimental and may not
catch every error, or be maximally performant. For the
previous, unchecked, behavior use
root_as_block_info_unchecked
.Verifies that a buffer of bytes contains a
CompiledInstruction
and returns it.
Note that verification is still experimental and may not
catch every error, or be maximally performant. For the
previous, unchecked, behavior use
root_as_compiled_instruction_unchecked
.Assumes, without verification, that a buffer of bytes contains a CompiledInstruction and returns it.
Verifies, with the given options, that a buffer of bytes
contains a
CompiledInstruction
and returns it.
Note that verification is still experimental and may not
catch every error, or be maximally performant. For the
previous, unchecked, behavior use
root_as_compiled_instruction_unchecked
.Verifies that a buffer of bytes contains a
SlotStatusInfo
and returns it.
Note that verification is still experimental and may not
catch every error, or be maximally performant. For the
previous, unchecked, behavior use
root_as_slot_status_info_unchecked
.Assumes, without verification, that a buffer of bytes contains a SlotStatusInfo and returns it.
Verifies, with the given options, that a buffer of bytes
contains a
SlotStatusInfo
and returns it.
Note that verification is still experimental and may not
catch every error, or be maximally performant. For the
previous, unchecked, behavior use
root_as_slot_status_info_unchecked
.Verifies that a buffer of bytes contains a
TransactionInfo
and returns it.
Note that verification is still experimental and may not
catch every error, or be maximally performant. For the
previous, unchecked, behavior use
root_as_transaction_info_unchecked
.Assumes, without verification, that a buffer of bytes contains a TransactionInfo and returns it.
Verifies, with the given options, that a buffer of bytes
contains a
TransactionInfo
and returns it.
Note that verification is still experimental and may not
catch every error, or be maximally performant. For the
previous, unchecked, behavior use
root_as_transaction_info_unchecked
.Verifies that a buffer of bytes contains a size prefixed
AccountInfo
and returns it.
Note that verification is still experimental and may not
catch every error, or be maximally performant. For the
previous, unchecked, behavior use
size_prefixed_root_as_account_info_unchecked
.Assumes, without verification, that a buffer of bytes contains a size prefixed AccountInfo and returns it.
Verifies, with the given verifier options, that a buffer of
bytes contains a size prefixed
AccountInfo
and returns
it. Note that verification is still experimental and may not
catch every error, or be maximally performant. For the
previous, unchecked, behavior use
root_as_account_info_unchecked
.Verifies that a buffer of bytes contains a size prefixed
BlockInfo
and returns it.
Note that verification is still experimental and may not
catch every error, or be maximally performant. For the
previous, unchecked, behavior use
size_prefixed_root_as_block_info_unchecked
.Assumes, without verification, that a buffer of bytes contains a size prefixed BlockInfo and returns it.
Verifies, with the given verifier options, that a buffer of
bytes contains a size prefixed
BlockInfo
and returns
it. Note that verification is still experimental and may not
catch every error, or be maximally performant. For the
previous, unchecked, behavior use
root_as_block_info_unchecked
.Verifies that a buffer of bytes contains a size prefixed
CompiledInstruction
and returns it.
Note that verification is still experimental and may not
catch every error, or be maximally performant. For the
previous, unchecked, behavior use
size_prefixed_root_as_compiled_instruction_unchecked
.Assumes, without verification, that a buffer of bytes contains a size prefixed CompiledInstruction and returns it.
Verifies, with the given verifier options, that a buffer of
bytes contains a size prefixed
CompiledInstruction
and returns
it. Note that verification is still experimental and may not
catch every error, or be maximally performant. For the
previous, unchecked, behavior use
root_as_compiled_instruction_unchecked
.Verifies that a buffer of bytes contains a size prefixed
SlotStatusInfo
and returns it.
Note that verification is still experimental and may not
catch every error, or be maximally performant. For the
previous, unchecked, behavior use
size_prefixed_root_as_slot_status_info_unchecked
.Assumes, without verification, that a buffer of bytes contains a size prefixed SlotStatusInfo and returns it.
Verifies, with the given verifier options, that a buffer of
bytes contains a size prefixed
SlotStatusInfo
and returns
it. Note that verification is still experimental and may not
catch every error, or be maximally performant. For the
previous, unchecked, behavior use
root_as_slot_status_info_unchecked
.Verifies that a buffer of bytes contains a size prefixed
TransactionInfo
and returns it.
Note that verification is still experimental and may not
catch every error, or be maximally performant. For the
previous, unchecked, behavior use
size_prefixed_root_as_transaction_info_unchecked
.Assumes, without verification, that a buffer of bytes contains a size prefixed TransactionInfo and returns it.
Verifies, with the given verifier options, that a buffer of
bytes contains a size prefixed
TransactionInfo
and returns
it. Note that verification is still experimental and may not
catch every error, or be maximally performant. For the
previous, unchecked, behavior use
root_as_transaction_info_unchecked
.