| 11 | const PRE_HASH: &str = "22caaf24ef0aea3522c13d133912d2b722caaf24ef0aea3522c13d133912d2b7"; |
| 12 | |
| 13 | pub struct BlockChain { |
| 14 | pub blocks: Vec<Block>, |
| 15 | curr_bits: u32, |
| 16 | blocks_db: Box<Database<BKey>>, |
| 17 | } |
| 18 | |
| 19 | impl BlockChain { |
| 20 | pub fn new() -> Self { |
nothing calls this directly
no outgoing calls
no test coverage detected