Module grin_wallet_libwallet::slate_versions
source · [−]Expand description
This module contains old slate versions and conversions to the newest slate version Used for serialization and deserialization of slates in a backwards compatible way. Versions earlier than V3 are removed for the 4.0.0 release, but versioning code remains for future needs
Modules
Sane serialization & deserialization of cryptographic structs into hex
Contains V4 of the slate (grin-wallet 4.0.0) Changes from V3: /#### Top-Level Slate Struct
Wraps a V4 Slate into a V4 Binary slate
Structs
Enums
Existing versions of the slate
Binary versions, can only be parsed 1:1 into the appropriate version, and VersionedSlate can up/downgrade from there
Versions are ordered newest to oldest so serde attempts to deserialize newer versions first, then falls back to older versions.
Versions are ordered newest to oldest so serde attempts to deserialize newer versions first, then falls back to older versions.
Constants
The most recent version of the slate
The grin block header this slate is intended to be compatible with