File tree Expand file tree Collapse file tree
include/bitcoin/system/chain Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -160,7 +160,6 @@ class BC_API input
160160 sizes size_;
161161
162162public:
163- // / TODO: prevout destruct requires input destruct.
164163 // / Public mutable metadata access, copied but not compared for equality.
165164 // / Defaults are set so non-population issues usually imply invalidity.
166165 mutable chain::output::cptr prevout{};
Original file line number Diff line number Diff line change @@ -37,10 +37,10 @@ class BC_API prevout final
3737 {
3838 // / The confirmed chain height of the prevout (zero if not found).
3939 // / Unused if the input owning this prevout is null (coinbase).
40- size_t height{ zero } ;
40+ size_t height;
4141
42- // / node: populated with database identifier for prevout's parent tx.
43- uint32_t parent;
42+ // / node: populated with a database identifier for the parent tx.
43+ uint32_t parent{ zero } ;
4444 };
4545
4646 // /************************************************************************
@@ -53,8 +53,8 @@ class BC_API prevout final
5353 // / Unused if the input owning this prevout is null (coinbase).
5454 uint32_t median_time_past{ max_uint32 };
5555
56- // / node: populated with database identifier for spender's parent tx .
57- uint32_t spender ;
56+ // / node: set to the database record of the input association .
57+ uint32_t link ;
5858 };
5959
6060 // /************************************************************************
You can’t perform that action at this time.
0 commit comments