Instead of a separate bool type for each flag, all the flags can be encoded in a type-safe bitflags encoded in a single u8: https://github.com/solana-labs/solana/blob/d6ec103be/sdk/src/packet.rs#L19-L31 |
||
---|---|---|
.. | ||
banking_stage.rs | ||
cluster_info.rs | ||
consensus.rs | ||
gen_keys.rs | ||
retransmit_stage.rs | ||
shredder.rs | ||
sigverify_stage.rs |