Rename zcash_mmr to zcash_history.

This crate will contain all chain history logic.
This commit is contained in:
Sean Bowe
2020-03-03 18:05:14 -07:00
parent 9379eec1b8
commit 5e1a2f9d3f
11 changed files with 43 additions and 33 deletions

View File

@@ -1,4 +0,0 @@
language: rust
rust:
- nightly
- stable

14
zcash_history/COPYRIGHT Normal file
View File

@@ -0,0 +1,14 @@
Copyrights in the "zcash_history" library are retained by their contributors. No
copyright assignment is required to contribute to the "zcash_history" library.
The "zcash_history" library is licensed under either of
* Apache License, Version 2.0, (see ./LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
* MIT license (see ./LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Unless you explicitly state otherwise, any contribution intentionally
submitted for inclusion in the work by you, as defined in the Apache-2.0
license, shall be dual licensed as above, without any additional terms or
conditions.

View File

@@ -1,6 +1,6 @@
[package]
name = "zcash_mmr"
version = "0.1.0"
name = "zcash_history"
version = "0.0.1"
authors = ["NikVolf <nikvolf@gmail.com>"]
edition = "2018"

View File

@@ -1,4 +1,4 @@
# zcash_mmr
# zcash_history
Special implementation of Merkle mountain ranges (MMR) for Zcash!
@@ -14,7 +14,7 @@ The main design goals of this MMR implementation are
# License
`zcash_mmr` is distributed under the terms of both the MIT
`zcash_history` is distributed under the terms of both the MIT
license and the Apache License (Version 2.0), at your choice.
See LICENSE-APACHE, and LICENSE-MIT for details.
@@ -22,5 +22,5 @@ See LICENSE-APACHE, and LICENSE-MIT for details.
### Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted
for inclusion in `zcash_mmr` by you, as defined in the Apache-2.0 license, shall be
for inclusion in `zcash_history` by you, as defined in the Apache-2.0 license, shall be
dual licensed as above, without any additional terms or conditions.

View File

@@ -1,4 +1,4 @@
use zcash_mmr:: {NodeData, Tree, Entry, EntryLink};
use zcash_history:: {NodeData, Tree, Entry, EntryLink};
pub struct NodeDataIterator {
return_stack: Vec<NodeData>,

View File

@@ -1,4 +1,4 @@
use zcash_mmr::{Entry, EntryLink, NodeData, Tree};
use zcash_history::{Entry, EntryLink, NodeData, Tree};
#[path= "lib/shared.rs"]
mod share;

View File

@@ -1,4 +1,4 @@
//! MMR library for Zcash
//! Chain history library for Zcash
//!
//! To be used in zebra and via FFI bindings in zcashd
#![warn(missing_docs)]