|
|
|
@ -24,12 +24,9 @@ static const size_t MIN_TRANSACTION_WEIGHT = WITNESS_SCALE_FACTOR * 60; // 60 is
|
|
|
|
|
static const size_t MIN_SERIALIZABLE_TRANSACTION_WEIGHT = WITNESS_SCALE_FACTOR * 10; // 10 is the lower bound for the size of a serialized CTransaction
|
|
|
|
|
|
|
|
|
|
/** Flags for nSequence and nLockTime locks */
|
|
|
|
|
enum {
|
|
|
|
|
/* Interpret sequence numbers as relative lock-time constraints. */
|
|
|
|
|
LOCKTIME_VERIFY_SEQUENCE = (1 << 0),
|
|
|
|
|
|
|
|
|
|
/* Use GetMedianTimePast() instead of nTime for end point timestamp. */
|
|
|
|
|
LOCKTIME_MEDIAN_TIME_PAST = (1 << 1),
|
|
|
|
|
};
|
|
|
|
|
/** Interpret sequence numbers as relative lock-time constraints. */
|
|
|
|
|
static constexpr unsigned int LOCKTIME_VERIFY_SEQUENCE = (1 << 0);
|
|
|
|
|
/** Use GetMedianTimePast() instead of nTime for end point timestamp. */
|
|
|
|
|
static constexpr unsigned int LOCKTIME_MEDIAN_TIME_PAST = (1 << 1);
|
|
|
|
|
|
|
|
|
|
#endif // BITCOIN_CONSENSUS_CONSENSUS_H
|
|
|
|
|