Versions in this module Expand all Collapse all v0 v0.2.0 May 11, 2026 Changes in this version + const FlagDataEndOfBatch + const FlagDataEndOfBlock + const FlagDataTickMask + const LegacyCodeID + const LegacyDataID + const LegacyDataV1HeaderSize + const LegacyDataV1PayloadSize + const LegacyDataV2HeaderSize + const MerkleCodeID + const MerkleDataID + const MerkleDepthMask + const MerkleTypeMask + const RevisionV1 + const RevisionV2 + func Concat(shreds []Shred) []byte + type CommonHeader struct + FECSetIndex uint32 + Index uint32 + Signature solana.Signature + Slot uint64 + Variant uint8 + Version uint16 + func (c *CommonHeader) IsCode() bool + func (c *CommonHeader) IsData() bool + func (c *CommonHeader) Ok() bool + type DataHeader struct + Flags uint8 + ParentOffset uint16 + Size uint16 + func (d *DataHeader) EndOfBlock() bool + func (s *DataHeader) EndOfBatch() bool + func (s *DataHeader) Tick() uint8 + type Entry struct + Hash solana.Hash + NumHashes uint64 + Txns []solana.Transaction + func (en *Entry) UnmarshalWithDecoder(decoder *bin.Decoder) (err error) + type Shred struct + MerklePath [][20]byte + Payload []byte + func NewShredFromSerialized(shred []byte, revision int) (s Shred) + func (s Shred) MarshalYAML() (any, error) v0.1.0-alpha.1 Jan 15, 2026