Module solana_ledger::shred [−][src]
Expand description
The shred
module defines data structures and methods to pull MTU sized data frames from the network.
Structs
The coding shred header has FEC information
The data shred header has parent offset and flags
A common header that is present in data and code shred headers
Enums
Constants
The constants that define if a shred is data or coding
The following constants are computed by hand, and hardcoded.
test_shred_constants
ensures that the values are correct.
Constants are used over lazy_static for performance reasons.