2021-04-14 21:14:34 -07:00
|
|
|
use rand::RngCore;
|
|
|
|
|
2021-01-20 12:30:35 -08:00
|
|
|
/// The root of an Orchard commitment tree.
|
2021-04-14 21:14:34 -07:00
|
|
|
#[derive(Clone, Debug)]
|
2021-01-20 12:30:35 -08:00
|
|
|
pub struct Anchor;
|
2021-04-14 21:14:34 -07:00
|
|
|
|
|
|
|
#[derive(Debug)]
|
|
|
|
pub struct MerklePath;
|
|
|
|
|
|
|
|
impl MerklePath {
|
|
|
|
/// Generates a dummy Merkle path for use in dummy spent notes.
|
2021-04-28 15:57:53 -07:00
|
|
|
pub(crate) fn dummy(_rng: &mut impl RngCore) -> Self {
|
2021-04-14 21:14:34 -07:00
|
|
|
// TODO
|
|
|
|
MerklePath
|
|
|
|
}
|
|
|
|
}
|