mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-20 13:37:28 +02:00
Add SEQUENCE_THRESHOLD to script/script.h
Will now be needed by CHECKSEQUENCEVERIFY code.
This commit is contained in:
parent
753cfb66b9
commit
9d0c08e3bf
1 changed files with 4 additions and 0 deletions
|
|
@ -23,6 +23,10 @@ static const unsigned int MAX_SCRIPT_ELEMENT_SIZE = 520; // bytes
|
|||
// otherwise as UNIX timestamp.
|
||||
static const unsigned int LOCKTIME_THRESHOLD = 500000000; // Tue Nov 5 00:53:20 1985 UTC
|
||||
|
||||
// Threshold for inverted CTxIn::nSequence: below this value it is interpreted
|
||||
// as a relative lock-time, otherwise ignored.
|
||||
static const uint32_t SEQUENCE_THRESHOLD = (1 << 31);
|
||||
|
||||
template <typename T>
|
||||
std::vector<unsigned char> ToByteVector(const T& in)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue