disaronno 0.1.5

Disaronno is a blockchain framework designed to support the Scattered-Systems Ecosystem
Documentation
/*
    Create a fully-equipped block structure with a number of standard functions outlined below...
 */
use std::hash::Hash;

use serde::{Deserialize, Serialize};

use super::blocks::Block;

pub trait Chain {
    type Block;
    type Blocks;

    fn setup(&mut self) -> Self;
    fn connect() -> Result<(), crate::types::BoxedError>;
}


#[derive(Clone, Debug)]
pub struct Blockchain {
    blocks: Vec<Block>,
}