File tree 2 files changed +5
-6
lines changed
include/bitcoin/system/chain
2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -160,7 +160,6 @@ class BC_API input
160
160
sizes size_;
161
161
162
162
public:
163
- // / TODO: prevout destruct requires input destruct.
164
163
// / Public mutable metadata access, copied but not compared for equality.
165
164
// / Defaults are set so non-population issues usually imply invalidity.
166
165
mutable chain::output::cptr prevout{};
Original file line number Diff line number Diff line change @@ -37,10 +37,10 @@ class BC_API prevout final
37
37
{
38
38
// / The confirmed chain height of the prevout (zero if not found).
39
39
// / Unused if the input owning this prevout is null (coinbase).
40
- size_t height{ zero } ;
40
+ size_t height;
41
41
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 } ;
44
44
};
45
45
46
46
// /************************************************************************
@@ -53,8 +53,8 @@ class BC_API prevout final
53
53
// / Unused if the input owning this prevout is null (coinbase).
54
54
uint32_t median_time_past{ max_uint32 };
55
55
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 ;
58
58
};
59
59
60
60
// /************************************************************************
You can’t perform that action at this time.
0 commit comments