()
| 1 | use core::blockchain::BlockChain as BC; |
| 2 | |
| 3 | fn main() { |
| 4 | println!("-------------------------Mine Info----------------------------"); |
| 5 | let mut bc = BC::new(); |
| 6 | |
| 7 | let tx = "0xabcd -> 0xabce: 5 btc".to_string(); |
| 8 | bc.add_block(tx); |
| 9 | |
| 10 | let tx = "0xabcd -> 0xabcf: 2.5 btc".to_string(); |
| 11 | bc.add_block(tx); |
| 12 | |
| 13 | println!("-------------------------Block Info------------------------------"); |
| 14 | bc.block_info(); |
| 15 | } |
nothing calls this directly
no test coverage detected