MCPcopy Create free account
hub / github.com/PacktPublishing/Rust-for-Blockchain-Application-Development / Blockchain

Class Blockchain

chapter 2/code.rs:14–16  ·  view source on GitHub ↗

blockchain can be represented

Source from the content-addressed store, hash-verified

12
13// blockchain can be represented
14pub struct Blockchain {
15 pub blocks: Vec,
16}
17
18// variables in rust
19fn main() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected