Skip to content

Commit

Permalink
Comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
evoskuil committed Jan 13, 2025
1 parent 6aef84a commit da06357
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions include/bitcoin/system/chain/prevout.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class BC_API prevout final
/// Unused if the input owning this prevout is null (coinbase).
size_t height;

/// database: populated with a database identifier for the parent tx.
/// node: populated with a database identifier for the parent tx.
uint32_t parent{ zero };
};

Expand All @@ -51,10 +51,10 @@ class BC_API prevout final
{
/// The median time past at height (max_uint32 if not found/confirmed).
/// Unused if the input owning this prevout is null (coinbase).
/// database: unused as validation precedes prevout block association.
/// node: unused as validation precedes prevout block association.
uint32_t median_time_past{ max_uint32 };

/// database: set via block.populate() as internal spends do not
/// node: set via block.populate() as internal spends do not
/// require prevout block association for relative locktime checks.
/// So median_time_past is not required as locked is determined here.
bool locked;
Expand All @@ -73,12 +73,12 @@ class BC_API prevout final
/// indicates whether the prevout is spent at height (double spend).
bool spent{ true };

/// database: indicates that the input spends output inside same block.
/// node: indicates that the input spends output inside same block.
bool inside;
};

/// The previous output is of a coinbase transaction.
/// database: populated, does not require prevout block association.
/// node: populated, does not require prevout block association.
bool coinbase{ true };
};

Expand Down

0 comments on commit da06357

Please sign in to comment.