[][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

v2

Contains V2 of the slate (grin-wallet 1.1.0) Changes from V1:

Structs

SlateVersionIter

Enums

SlateVersion

Existing versions of the slate

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