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

Class Nodes

chapter 3/structs.rs:45–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43 addr: String,
44}
45pub struct Nodes {
46 inner: RwLock<Vec<Node>>,
47}
48
49pub struct Server {
50 blockchain: Blockchain,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected