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

Class TXOutput

chapter 3/structs.rs:27–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25}
26
27pub struct TXOutput {
28 value: i32,
29 pub_key_hash: Vec<u8>,
30}
31
32pub struct Blockchain {
33 tip_hash: Arc<RwLock<String>>, // hash of last block

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected