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

Class Server

chapter 4/server.rs:39–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37const TCP_WRITE_TIMEOUT: u64 = 1000;
38
39pub struct Server {
40 blockchain: Blockchain,
41}
42
43impl Server {
44 pub fn new(blockchain: Blockchain) -> Server {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected