Available on crate feature
serde-bincode-compat
only.Expand description
Bincode-compatible serde implementations for commonly used types in Reth.
bincode
crate doesn’t work with optionally serializable serde fields, but some of the
Reth types require optional serialization for RPC compatibility. This module makes so that
all fields are serialized.
Read more: https://github.com/bincode-org/bincode/issues/326
Re-exports§
pub use super::transaction::serde_bincode_compat as transaction;
pub use super::transaction::serde_bincode_compat::*;
Structs§
- Bincode-compatible
super::BlockBody
serde implementation. - Bincode-compatible
super::SealedBlock
serde implementation. - Bincode-compatible
super::SealedBlockWithSenders
serde implementation.