grin-wallet/libwallet/src/slate_versions/mod.rs
Yeastplume 02655afca8
Slate version conversions (#13)
* add slate upgrading/downgrading

* add slate versions

* slate versioning compilation and tests

* transaction slate responses downgrade themselves to the version of the caller

* add command line arg for target slate version output

* v2 versioning comment info

* doctest fixes
2019-03-12 16:48:14 +00:00

22 lines
878 B
Rust

// Copyright 2019 The Grin Developers
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//! 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.
#[allow(missing_docs)]
pub mod v0;
#[allow(missing_docs)]
pub mod v1;
#[allow(missing_docs)]
pub mod v2;