[][src]Module grin_wallet_libwallet::slate_versions

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 V2 are removed for the 2.0.0 release, but versioning code remains for future needs

Modules

ser

Sane serialization & deserialization of cryptographic structs into hex

v3

Contains V3 of the slate (grin-wallet 3.0.0) Changes from V2:

v4

Contains V4 of the slate (grin-wallet 4.0.0) Changes from V3: /#### Top-Level Slate Struct

v4_bin

Wraps a V4 Slate into a V4 Binary slate

Structs

SlateVersionIter

Enums

SlateVersion

Existing versions of the slate

VersionedBinSlate

Binary versions, can only be parsed 1:1 into the appropriate version, and VersionedSlate can up/downgrade from there

VersionedCoinbase

Versions are ordered newest to oldest so serde attempts to deserialize newer versions first, then falls back to older versions.

VersionedSlate

Versions are ordered newest to oldest so serde attempts to deserialize newer versions first, then falls back to older versions.

Constants

CURRENT_SLATE_VERSION

The most recent version of the slate

GRIN_BLOCK_HEADER_VERSION

The grin block header this slate is intended to be compatible with