Module solana_ledger::shred [−][src]
The shred
module defines data structures and methods to pull MTU sized data frames from the network.
Structs
CodingShredHeader | The coding shred header has FEC information |
DataShredHeader | The data shred header has parent offset and flags |
ProcessShredsStats | |
Shred | |
ShredCommonHeader | A common header that is present in data and code shred headers |
ShredFetchStats | |
ShredType | |
Shredder |
Enums
ShredError |
Constants
CODING_SHRED | |
DATA_COMPLETE_SHRED | |
DATA_SHRED | The constants that define if a shred is data or coding |
MAX_DATA_SHREDS_PER_FEC_BLOCK | |
OFFSET_OF_SHRED_INDEX | |
OFFSET_OF_SHRED_SLOT | |
OFFSET_OF_SHRED_TYPE | |
RECOMMENDED_FEC_RATE | |
SHRED_PAYLOAD_SIZE | |
SHRED_TICK_REFERENCE_MASK | |
SIZE_OF_CODING_SHRED_HEADER | |
SIZE_OF_COMMON_SHRED_HEADER | The following constants are computed by hand, and hardcoded.
|
SIZE_OF_DATA_SHRED_HEADER | |
SIZE_OF_DATA_SHRED_IGNORED_TAIL | |
SIZE_OF_DATA_SHRED_PAYLOAD | |
SIZE_OF_NONCE | |
SIZE_OF_SHRED_INDEX | |
SIZE_OF_SHRED_SLOT | |
SIZE_OF_SHRED_TYPE | |
SIZE_OF_SIGNATURE |
Functions
get_shred_slot_index_type | |
max_entries_per_n_shred | |
max_ticks_per_n_shreds | |
verify_test_data_shred |
Type Definitions
Nonce | |
Result |