Write down the folklore about nSequence
This commit is contained in:
parent
877212414a
commit
2e9bdc6789
|
@ -359,7 +359,7 @@ class SaplingOutPoint : public BaseOutPoint
|
|||
{
|
||||
public:
|
||||
SaplingOutPoint() : BaseOutPoint() {};
|
||||
SaplingOutPoint(uint256 hashIn, uint32_t nIn) : BaseOutPoint(hashIn, nIn) {};
|
||||
SaplingOutPoint(uint256 hashIn, uint32_t nIn) : BaseOutPoint(hashIn, nIn) {};
|
||||
std::string ToString() const;
|
||||
};
|
||||
|
||||
|
@ -372,6 +372,8 @@ class CTxIn
|
|||
public:
|
||||
COutPoint prevout;
|
||||
CScript scriptSig;
|
||||
// The only use of nSequence (via IsFinal) is in TransactionSignatureChecker::CheckLockTime
|
||||
// It disables the nLockTime feature when set to maxint.
|
||||
uint32_t nSequence;
|
||||
|
||||
CTxIn()
|
||||
|
|
Loading…
Reference in New Issue