dmtree 0.1.0-alpha.1

A library to enable publishing a merkle tree over a Distributed Hash Table.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use crate::types::{Addressable, Group};

pub struct Put<D: Addressable> {
	pub private: Vec<u8>,
	pub public: Vec<u8>,
	pub group: Group<D>
}

impl<D: Addressable> Put<D> {
	pub fn new(private: Vec<u8>, public: Vec<u8>, group: Group<D>) -> Self {
		Self { private, public, group }
	}

}