rcmerkle
Merkle Tree to calculate Root.
Suppert Two Way:
- One is traditional use MerkleTree, it need send all hashed list.
- Two is efficient, but need to save state, like state machine. it need send new value, it will return the lastest root.
Example:
use ;
let list = ;
let hashed_list: = list.iter.map.collect;
let mut better_merkle = new;
for i in 0..hashed_list.len
License
This project is licensed under either of
- Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.