Crate kaspa_utils
source ·Modules
- Examples
- Examples
- Examples
- Module with structs for supporting discrete event simulation in virtual time. Inspired by python’s simpy library.
Macros
- Macro to provide serde::Deserialize implementations for types
$twhich can be constructed from byte arrays of fixed size. The resulting structure will support deserialization from human-readable formats using hex::FromHex, as well as binary formats. - Macro to generate serde::Serialize implementation for types
$tthat can be referenced as a byte array of fixed size, The resulting structure will support serialization into human-readable formats using hex encoding, as well as binary formats.