1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/*
    Description: Create a standard structure and implement the desired specifications
 */

use crate::{
    blockchain::{Block, ChainSpec}, Deserialize,
    Serialize,
    types::BoxedError,
};

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

impl ChainSpec for Chain {
    type Configuration = ();

    fn setup() -> Self {
        todo!()
    }

    fn connect() -> Result<(), BoxedError> {
        todo!()
    }
}