Skip to content

Commit

Permalink
Add docs for TxOut struct
Browse files Browse the repository at this point in the history
  • Loading branch information
thunderbiscuit committed Jul 16, 2022
1 parent 82359c5 commit efbb368
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -230,8 +230,11 @@ pub struct OutPoint {
vout: u32,
}

/// A transaction output, which defines new coins to be created from old ones.
pub struct TxOut {
/// The value of the output, in satoshis.
value: u64,
/// The address of the output.
address: String,
}

Expand Down

0 comments on commit efbb368

Please sign in to comment.